data serialization
data for a wire
serialization
The 2 main axes of serialization: text/binary and schema/self-describing
widely supported
- json: text, self-describing
- json schema, jsonrpc, openapi, ... for schemas
- protobuf: binary, schema
- prototext for text representation
- protojson for mapping to json
seriously consider
- cbor: binary, self-describing
- flatbuffers: like protobuf, but more optimized for storage than transmission