SMTP, HTTP, etc
HTTP/1.1 304 Not Modified
Server: nginx
Date: Mon, 31 Oct 2022 06:26:40 GMT
Connection: keep-alive
ETag: "10184-5eb742298960c"
Типичны регулярные грамматики, хорошо парсятся Ragel'eм (не всегда удачно)
с XML всё понятно
- {"key":["array","of","values"]}
- json.org
- IETF RFCs, ECMA standard
----
JSON is a minefield
- UCS-2
- UTF-16
- UTF-8
- UTF-32
----
- type
- length
- value
message Person {
optional string name = 1;
optional int32 id = 2;
optional string email = 3;
}
TLV-like coding
- there is no spoon
- Realm
- BitCoin
- git
- BitTorrent