11-13-2020 11:00 AM
Having another Simple JSON issue:
Receiving
but apparently, there is an issue with my decoding
I get an Error -375006
I've also tried connecting a String Array directly into the input to the Unflatten JSON and wiring directly to an Array indicator, but I get the same result.
Please help
KM
Solved! Go to Solution.
11-13-2020 12:39 PM
Hi KM,
The structure of the LabVIEW type should match the JSON value. In this case the JSON Object has a field named "subarray" that is an array of strings. The LabVIEW type is a cluster with a field named "String Constant" with a scalar string value.
In order to match the JSON Value the LabVIEW type should be a cluster with a field named subarray that is a 1d string array.
Milan
11-13-2020 01:02 PM
I was missing the name. In this case, "subarray"
Thanks
KM