c14n
package included in GOBL, is inspired by the works of others and aims to define a simple standardized approach to canonical JSON that could potentially be implemented easily in other languages.
null
.E
for the exponent indicator,\"
U+0022 Quotation Mark\\
U+005C Reverse Solidus (backslash)\b
U+0008 Backspace\f
U+000C Form Feed\u00XX
uppercase hexadecimal escape sequences for control characters that require escaping but lack a two-character sequence described previously, andencoding/json
library’s streaming methods to parse and recreate a document in memory. A simplified object model is used to map JSON structures ready to be converted into canonical JSON.