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

JSON.ArrayLength fails if 1st item is a string that begins with a question mark #28

Open
DanShockley opened this issue Jun 25, 2021 · 0 comments

Comments

@DanShockley
Copy link

The JSON.ArrayLength function wrongly returns zero when the 1st item in the array is a string that begins with a question mark.
However, the proposed fix for Issue #18 also fixes this bug.
Using JSONListKeys instead of JSONListValues also means the _keys (instead of _values) will never begin with a question mark for valid JSON.

Attached is a copy showing the problem, and a copy with the proposed fix.
JSONAdditions-ArrayLength-1st-item-begins-with-question-mark-bug-example.fmp12.zip
JSONAdditions-ArrayLength-1st-item-begins-with-question-mark-bug-FIXED.fmp12.zip

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

No branches or pull requests

1 participant