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

Unflatten JSON string truncates string with null character #24

Open
ghost opened this issue Jun 21, 2017 · 3 comments
Open

Unflatten JSON string truncates string with null character #24

ghost opened this issue Jun 21, 2017 · 3 comments

Comments

@ghost
Copy link

ghost commented Jun 21, 2017

Underneath the JKI JSON utility it uses LV flatten/unflatten from JSON primitive. Unfortunately, the unflatten from JSON primative has a bug that it truncates the input string when it hits null character.

Example:

{
"test":"\u0000\u0001\u0013"
}

This data after unflattened will retun empty string.

@ghost ghost changed the title Unflatten JSON string skipped out non printable characters Unflatten JSON string truncates string with null character Jun 21, 2017
@tmaila
Copy link
Contributor

tmaila commented Jun 22, 2017

@ohmymine Did you file a LabVIEW bug with NI? If so, can you please post the CAR number here.

@drjdpowell
Copy link

drjdpowell commented Jun 22, 2017

I reported the bug last september to NI. It's CAR 605085.

I also reported CAR 607058: JSON Flattening of EXT floating point only gets precision of SGL floating point values.

@ghost
Copy link
Author

ghost commented Jun 22, 2017

I filed a bug report to NI too. However, no CAR is given.

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

2 participants