mholt / json-to-go

Translates JSON into a Go type in your browser instantly (original)
https://mholt.github.io/json-to-go/
MIT License
4.5k stars 474 forks source link

Float fix #120

Closed apxamccallum closed 2 years ago

apxamccallum commented 2 years ago

Addresses #98 Added several tests for floats, Modified regex hack to check for arrays and to check if number is negative.