JKISoftware / JKI-JSON-Serialization

JSON Serialization & Deserialization Library for LabVIEW
http://jki.net/tools#json
BSD 3-Clause "New" or "Revised" License
25 stars 9 forks source link

Unflatten JSON string truncates string with null character #24

Open ghost opened 7 years ago

ghost commented 7 years ago

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.

tmaila commented 7 years ago

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

drjdpowell commented 7 years ago

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 commented 7 years ago

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