Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

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