Golang中的序列化(Serialize)

1. 综述

在应用系统编程中,对复杂数据在子系统间的传输、解析和持久化存储是编程的核心,为了提供高质量的数据服务,序列化和反序列化的选型是系统设计的一个重要考虑因素。

1.1 定义及相关概念

1.2 序列化协议特性

1.3 序列化和反序列化的组件

1.4 常见的序列化和反序列化协议

1.5 协议选型

2. golang中的序列化包以及应用

2.1 json

2.2 xml

2.3 protobuf

2.4 Thrift

2.5 binary

2.6 gob

2.7 其他(csv、asn1、pem)

关于

1 1 1

rfc3986 https://tools.ietf.org/html/rfc3986 http://studygolang.com/articles/577 func QueryEscape(s string) string