top | item 44149405

(no title)

tarasglek | 9 months ago

People put so much effort into streaming Json parsing whereas we have a format called Yaml which takes up less characters on the wire and happens to work incrementally out of the box meaning that you can reparse the stream as it's coming in without having to actually do any incremental parsing

discuss

order

motorest|9 months ago

> People put so much effort into streaming Json parsing whereas we have a format called (...)

There are many formats out there. If payload size is a concern, everyone is far better off enabling HTTP response compression instead of onboarding a flavor-of-the-month language.

rk06|9 months ago

Yaml makes json appear user friendly by comparison.

Last thing one want in a wire format is white space sensitivity and ambiguous syntax. Besides, if you are really transferring that much json data, there are ways to achieve it that solves the issues

croes|9 months ago

YAML is more complex and harder to parse