We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NewValue(map).ToJson(jsn).Bytes() should return JSON string with keys sorted.
The text was updated successfully, but these errors were encountered:
JSON is also exposed to users via API. This means JSON Properties may not have its keys sorted. Would be a good feature to implement:
JSON->JSON with property keys sorted.
JSON->CBOR with property keys sorted.
For Values, JSON property is stored as map[string]interface{}, so no point is sorting it before converting to Value.
For Collate, JSON properties are already sorted :)
Sorry, something went wrong.
Sort map keys before converting from Value to Json #21.
24596c5
prataprc
No branches or pull requests
NewValue(map).ToJson(jsn).Bytes() should return JSON string with keys sorted.
The text was updated successfully, but these errors were encountered: