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
It does not work. Input:
echo '{"value": 9.00}' | gojson -forcefloats
and the output is:
type Foo struct { Value int64 `json:"value"` }
The -forcefloats flag does not work.
-forcefloats
The text was updated successfully, but these errors were encountered:
Currently I use the following script to solve this:
before=$(pbpaste | gojson) after="${before//int64/float64}" echo "${after}" | pbcopy
It can convert clipboard's json content, and paste it back to clipboard automatically. It runs well on mac OS.
Sorry, something went wrong.
No branches or pull requests
It does not work.
Input:
and the output is:
The
-forcefloats
flag does not work.The text was updated successfully, but these errors were encountered: