mverleg / binary_json

Binary encoding of JSON that emphasizes compression
Other
1 stars 0 forks source link

Check conformance to the official specification #7

Open mverleg opened 6 years ago

mverleg commented 6 years ago

The binary format will not conform to the official specification, since it is stored differently. Furthermore, there are things like dense arrays and interning that are not in the official specification.

This check is meant to ensure that this package supports everything that can be encoded and decoded according to the official specification (not that it's encoded the same way).

https://www.ietf.org/rfc/rfc4627.txt

ghost commented 6 years ago

You should check Smile if you want an efficient format.

Theres implementations on several langs, but they need update. Im using MessagePack as is widely supported and updated, but Smile is the most efficient format that there is.

mverleg commented 6 years ago

Thanks! Yeah that does sound very similar to what I was aiming for... I should've known it already existed ^^

Maybe I'll go on with it anyway, as half of the purpose was to learn things, let's see :)

ghost commented 6 years ago

Theres Smile Python lib, but its Python2 only.