Jump to content

Empty 2D Array Causes Error

Daniel Palmer

Recommended Posts

There appears to be a bug when decoding an empty 2D array using "JKI JSON Serialization.lvlib:Unflatten From JSON String.vi". When the variant that comes out of the Unflatten vi is passed into the Variant to Data vi, it causes an error 91 to be thrown. Looking at the variant produced, the problem appears to be in how the array dimensions are reported in the variant. The variant from the Unflatten From JSON String shows: "[0]" where just taking an empty 2D array and converting it to variant shows: "[0x0]".

JSON 2D Array Error.vi

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

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