dynamic-sized JSON Object from Array-of-Clusters
Issue #58
resolved
Often want a variable-sized array of things by-name. So a JSON Object. But LabVIEW Cluster is fixed size.
Idea: use a tag, <JOBJ>, on an array of clusters to indicate that the first element of the array is the item name. Then teh array of clusters will flatten, not to a JSON Array, but a JSON Object with the first cluster element used as the item names.
Comments (7)
-
reporter -
reporter Added, but needs testing. Not in documentation yet.
-
reporter Tested and fixed implementation error in deserializing. Added Unit Test.
-
reporter - changed status to resolved
-
reporter - changed status to open
Actually, need to add documentation
-
reporter Found more issues when making an example. Fixed. 8465cc056f48e46e620dc2dc7c2b8c13585c3741
-
reporter - changed status to resolved
1.5.3
- Log in to comment
First (Name) element usually a string, but perhaps could allow numbers as well (useful for a sparse array).