09-23-2021 06:43 PM
In LabVIEW, if I bundle together several controls using the Bundle function and then pass on the resulting cluster to the native Flatten to JSON function, the JSON string I get contains the names of the controls I started with. Perfect!
If I perform the equivalent action in G Web Dev using Build Cluster, the names of the controls are replaced in the JSON string with Element 1, Element 2, etc.
This is not in the least helpful.
Is there any way to get the same behaviour in G Web Dev as in LabVIEW?
Solved! Go to Solution.
09-25-2021 03:30 AM
Hi Mihai,
You can use the "Cluster Properties" node which allows you to wire a cluster constant that has field names for the cluster items.
I think the example project that I posted here might be of help to you since you are working with JSON: Solved: Re: More new user questions - NI Community