Remix.run Logo
Bratmon 3 hours ago

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

true_religion 2 hours ago | parent | next [-]

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.

hueho an hour ago | parent | prev [-]

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