为什么需要 json

不同语言之间,或者相同语言之间。

需要一种对象到 json (持久化)的一种实现方式。

以及反序列化的方式。

常见的序列化框架

字符串

DSL-JSON 最快的 java 实现

Ali-FastJson

Google-Gson

Jackson

二进制

Google protocol buffer

Apache Thrift

Hession

Kryo

Fst

Messagepack

Jboss Marshaling

其他

JsonPath

JsonIter

文件格式

Avro,

BSON,

CBOR,

CSV,

Smile,

(Java) Properties,

Protobuf,

XML

YAML

拓展阅读

序列化

Serializable

序列化标识

参考资料

json 汇总