Welcome to MLink Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
152 views
in Technique[技术] by (71.8m points)

如何序列化存储map对象

在rn中使用了realm数据,发现其中一个字段是想存储一个map对象,但realm本身不支持这样的类型,只能设置在存储的时候进行序列化成字符串来处理,但是目前只能使用json对象来转换,如果用es6的map对象就会变成一个内容为hashmap的字符串。不知道谁有好的解决方案


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to MLink Developer Q&A Community for programmer and developer-Open, Learning and Share
...