Skip to content

Offer a UseNumber option #129

@johnSchnake

Description

@johnSchnake

Since the library uses interface{} types when deserializing messages, integers are all cast to float64. When printing out values in Go, if the value is large enough it prints into scientific notation then.

If there was an option to use UseNumber they would stay as json.Number types which could be parsed as needed downstream.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions