Hacker News new | ask | show | jobs
by henryscala 3870 days ago
What about Protobuf? It seems to me it is lightweight than xml and asn.1, though heavyweight than json, but it suits most of the case.

If JSON has JSONPath and JSONSchema. It looks like it is another XML, then.

1 comments

> What about Protobuf?

For what they are, I quite like protobufs. I tend to prefer something with a human-readable version, but protobufs do get the job done.

Human-readability is why canonical S-expressions (e.g. (3:foo3:bar), which can be displayed as (foo bar), ("foo" #626172#), (|Zm9v|3:bar) or any permutation thereof) are still the best thing around.