|
|
|
|
|
by sramsay64
454 days ago
|
|
In fairness there are also several ambiguities with JSON. How do you handle multiple copies of the same key? Does the order of keys have semantic meaning? jq supports several pseudo-JSON formats that are quite useful like record separator separated JSON, newline separated JSON. These are obviously out of spec, but useful enough that I've used them and sometimes piped them into a .json file for storage. Also, encoding things like IEEE NaN/Infinity, and raw byte arrays has to be in proprietary ways. |
|