开发者

Android default JSON example

开发者 https://www.devze.com 2023-04-06 19:53 出处:网络
Android has default JSON support with import org.json. Is there any simple example of serializing 开发者_运维知识库and deserializing this way? Are there any advanced options for serializing/deserializ

Android has default JSON support with import org.json. Is there any simple example of serializing 开发者_运维知识库and deserializing this way? Are there any advanced options for serializing/deserializing like references or inheritance?

Thanks


Try the first google hit.

What do you mean with serializing/deserializing like references or inheritance?
JSON is not a class serialization format like the build-in Java serialization. It's a pure and simple data exchange format, check the format definition.

0

精彩评论

暂无评论...
验证码 换一张
取 消