directory
Version:
v1.0.5
Opens a new window with list of versions in this module.
Published: May 16, 2020
License: MIT
Opens a new window with license information.
README
¶
eYaml
数据的序列化和反序列,使用 YAML 格式和 github.com/go-yaml/yaml 包.
YAML: YAML Ain't Markup Language
What It Is: YAML is a human friendly data serialization
standard for all programming languages.
数据序列化
- 序列化是指把结构化的数据用特定文本格式表示.
- 反序列化是序列化的逆过程.
- 数据序列化后可以用于传输和保存.
结构化数据和序列化数据之间操作序列化/反序列化,不同的语言有各自的名称:
- go: marshalling/unmarshalling
- python: pickling/unpickling
- Java: serialization/serialization
把数据序列化并保存在文件中称为 dump,把序列化的数据从文件中读出并反序列化称为 load
其他序列化格式
Directories
¶
Click to show internal directories.
Click to hide internal directories.