LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Feedback- JSON text

Solved!
Go to solution

@thomas-allibe wrote:

@Yamaeda wrote:

Change the cluster array to a Map and it'll be cleaner. You also don't need the shift register and build array, just concatenate the array on the output (not needed with a map).

Something like this:

Yamaeda_1-1786355316602.png

 

 


Be carefull here, in the author implementation, all key / value pairs are concatenated. There are duplicates for each "signal_generators".  In yours, all key value pairs are inserted into 1 map, discarding previously already inserted key values.

@LVEnt it would be easier to help you if we have a JSON example / schema to work with. 


Yes, that's something that needs to be considered. You can e.g. concatenate key-value to get more unique key names. I don't quite know what OP was after.

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 11 of 11
(22 Views)