Jump to content

SGI

Members
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. When converting the JSON data back to the Enum Variant, only the numerical value remains; the enum strings are lost. Instead, I would have expected the Variant output: 'Tab Control': unsigned long [32-bit integer (0 to 4,294,967,295)] enum {Page 1, Page 2, Page 3} Page 3 What is going wrong here? Kind regards, SGI
  2. This is a bug, and has to do with the name of the array: Look at the created JSON string, and you will see that the name is not "Errors[]" (the original name of the variable) but "Errors" (without the "[]" that got removed somehow). The JSON parser looks for "Errors[]" but cannot find the correct variable name (and will ignore the data called "Error" ) Remove the [] from the array name and it will work.
  3. Hi, I have a problem using JKI JSON, it does not convert JSON data correctly back to the datatype. I noticed this problem with all array types when the array is part of a cluster. Example snippet included. I have traced the problem, and I think the data gets lost at "\Deserializer\JSON Parser\Parse Value.vi", at the in 'Array of VData to VCluster__ogtk.vi' in state 'begin-object' (note that that example data is with different datatype than the first example) I'm using JKI-JSON-Serialization-master from Github, downloaded today (2018-06-14) Kind regards & thank you in advance for your time looking into this, SGI
×
×
  • Create New...

Important Information

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