logoalt Hacker News

Bratmonyesterday at 6:38 PM2 repliesview on HN

Having to provide a complete schema of your json everywhere your json gets parsed negates the advantages of json.


Replies

true_religionyesterday at 8:03 PM

The main advantage of json is that it’s human readable and writable. Beyond that, it has no notion of user created data types so anyone using it has to do custom unmarshalling to get a type apart from sting, number, dict and list.

huehoyesterday at 8:26 PM

Most JSON libraries in typed languages require this for data binding to complex types though.

show 1 reply