Skip to content

Set non-JSON-schema-defined is<type> functions to reflect the internal data storage type#1541

Open
TTF2050 wants to merge 5 commits intoopen-source-parsers:masterfrom
TTF2050:master
Open

Set non-JSON-schema-defined is<type> functions to reflect the internal data storage type#1541
TTF2050 wants to merge 5 commits intoopen-source-parsers:masterfrom
TTF2050:master

Conversation

@TTF2050
Copy link

@TTF2050 TTF2050 commented Jun 15, 2024

Closes #1361

Methods referencing schema-defined properties reflect the schema definitions. Methods referencing C++ data types reflect the underlying storage, as this is important for deciding how to extract a value without loss of precision. Using a combination of is<type> and isConvertibleTo methods should be sufficient for understanding whether a given value can be extracted as<type> with possible precision loss.

@baylesj baylesj closed this Sep 10, 2024
@baylesj baylesj reopened this Sep 10, 2024
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.

isDouble() returns true for integer number.

2 participants