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
Support parse number with high precision as possible.
For example:
Now usenumber only cast number to json.Number, it is string type. Also, ast not have UseInt64 API. So we can provide a new API, to do it.
json.Number
The text was updated successfully, but these errors were encountered:
Will the new API be supported?
Sorry, something went wrong.
sonic.UseInt64.UnmarshalString(node.Raw(), map{}) can work around for first-touched node (not trigger node.Get()|Set() yet)
sonic.UseInt64.UnmarshalString(node.Raw(), map{})
No branches or pull requests
Support parse number with high precision as possible.
For example:
Now usenumber only cast number to
json.Number
, it is string type. Also, ast not have UseInt64 API. So we can provide a new API, to do it.The text was updated successfully, but these errors were encountered: