Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanonicalJSON ¶
CanonicalJSON re-encodes the JSON in a canonical encoding. The encoding is the shortest possible encoding using integer values with sorted object keys. https://matrix.org/docs/spec/appendices#canonical-json
func CanonicalJSONAssumeValid ¶
CanonicalJSONAssumeValid is the same as CanonicalJSON, but assumes the input is valid JSON
func CompactJSON ¶
CompactJSON makes the encoded JSON as small as possible by removing whitespace and unneeded unicode escapes
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.