Skip to content

Encoding all Javascripts numbers as float64 ? #154

@leonsal

Description

@leonsal

Hi,

My application should work using JSON or MessagePack as the message encoder/decoder.
So my server (in Go) is expecting that all numeric values sent by the browser are decoded to 'float64',
but I received small numeric values as 'int8'.

Is there an option to force the encoding in the browser of all numbers
to MessagePack 'float64' type ?

Thanks.

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