Skip to content

Adds support for string based numbers#127

Open
ceving wants to merge 3 commits intojosephburnett:masterfrom
ceving:master
Open

Adds support for string based numbers#127
ceving wants to merge 3 commits intojosephburnett:masterfrom
ceving:master

Conversation

@ceving
Copy link
Copy Markdown

@ceving ceving commented Mar 9, 2026

It is AI slop to convert json.Number to float64.

If it were possible to store a JSON number as float64, the type json.Number would not be needed in encoding/json.

This pull request adds a type jsonStringNumber based on jsonString and implements the equal methods to compare jsonStringNumber and jsonNumber.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant