Hacker News new | ask | show | jobs
by Gehinnn 2473 days 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.

2 comments

BSON 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.

https://cuelang.org has some good ideas
agree, would love to see a bit more example, especially complex one.

Also I don't think there is any public library for it yet?

Yes, very soon we are releasing playground where you will be able to try and see the difference yourself. Please subscribe for the update! Thanks.