Jump to content

Unflatten From JSON breaks on NUL characters (LabVIEW 2017+)


LogMAN

Recommended Posts

I recently stumbled upon this issue while debugging an application that didn't handle JSON payload as expected.

As it turns out, Unflatten From JSON breaks on NUL characters, even though Flatten To JSON properly encodes them as ("\u0000").

554466342_UnflattenFromJSONbreaksonNULcharacters.png.90294f3d27024f920edd7e9d216070e6.png

image.png.63b909174282610f26ee9be58d9d38d4.png

I have confirmed the behavior in LabVIEW 2017, 2019, and 2020 (all with latest service packs and patches), currently waiting for confirmation by NI.

Workaround: Use JSONtext :)

Link to comment

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.