cctools
|
Print a JX structure in canonical form. More...
Go to the source code of this file.
Functions | |
char * | jx_canonicalize (struct jx *j) |
Canonicalize a JX expression to a string. More... | |
Print a JX structure in canonical form.
Canonical form is not particularly readable, e.g. there is no added whitespace and floats are printed with fixed precision in exponential form. Only the plain JSON types are allowed. Objects must have unique string keys.
char* jx_canonicalize | ( | struct jx * | j | ) |
Canonicalize a JX expression to a string.
The caller must free() the returned string.
j | A JX expression. |