JKI-JSON-Serialization icon indicating copy to clipboard operation
JKI-JSON-Serialization copied to clipboard

Unflatten JSON string truncates string with null character

Open ghost opened this issue 8 years ago • 3 comments

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 avatar Jun 21 '17 20:06 ghost

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

tmaila avatar Jun 22 '17 17:06 tmaila

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.

drjdpowell avatar Jun 22 '17 19:06 drjdpowell

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

ghost avatar Jun 22 '17 22:06 ghost