3 ms·
Looks nice, but I don't get the core ideas of why it is better than JSON schema or bson. I don't know whether I like the syntax - there are too few examples.
by Gehinnn 7y ago
Looks nice, but I don't get the core ideas of why it is better than JSON schema or bson.
I don't know whether I like the syntax - there are too few examples.
- staz 7y agoagree, would love to see a bit more example, especially complex one. Also I don't think there is any public library for it yet?
- aamironline 7y agoYes, very soon we are releasing playground where you will be able to try and see the difference yourself. Please subscribe for the update! Thanks.
- aamironline 7y agoBSON is a binary format, JSON schema is a separate mechanism which does not improve the structure of the serialized JSON data! Also, JSON does not enforce everyone to use schema! When compared with JSON, Internet Object provides an integrated all-inclusive solution which serializes data into around 45% fewer bytes, has built-in validation support, keeps data and definition (and headers) separate. All these while keeping the format human-readable, programming language independent and simple! We are working on the website and soon we'll release the playground with a lot more examples. Hope this answers your query.
- verdverm 7y agohttps://cuelang.org https://cuelang.org has some good ideas