|
|
|
|
|
by apantel
811 days ago
|
|
Much more valuable than any such extension would be a way to annotate types and byte lengths of keys and values so that parsers could work more efficiently. I’ve spent a lot of time making a fast JSON parser in Java and the thing that makes it so hard is you don’t know how many bytes anything is, or what type. It’s hard to do better than naive byte-by-byte parsing. |
|
It also specs proper decimal values, mitigating the issues presented in the OP.
https://amazon-ion.github.io/ion-docs/