Skip to content

Remove number stringification. #269

@bravehorsie

Description

@bravehorsie

There is a feauture in Yasson that check number values and tries to figure out if the values does "fit" IEEE754 double precision range or not. Based on the result the number is written either as JSON string or JSON integer. This proves to be a wrong approach causing to break any schema and making documentation of REST APIs tricky.

For now this feauture should be removed, after jakartaee/jsonp-api#176 is accepted and released, Yasson should support similar parameter configuration to pass it to jsonp, which in turn would know how to handle these types properly.

[1] jakartaee/jsonb-api#112
[2] jakartaee/jsonp-api#160
[3] https://github.com/cyberphone/I-JSON-Number-System#java-json-b

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions