The examples you provide are invalid JSON, which makes it difficult to understand what you are actually trying to do.
In your VI, the input data is a 2D array of string but the JSON output is completely different. Your first step should be to define the types you need to produce the expected JSON output. Afterwards you can map your input data to the output data and simply convert it to JSON.
The structure of the inner-most object in your JSON appears to be the following:
{
"Type":"ABC",
"IP":"192.168.0.0",
"Port":111,
"Still":1,
"Register":"Register",
"Address":12345,
"SizeLength":1,
"FET":2,
"Size":"big",
"Conversion":"small"
}
In LabVIEW, this can be represented by a cluster:
When you convert this cluster to JSON, you'll get the output above.
Now, the next level of your structure is a bit strange but can be solved in a similar manner. I assume that "1", "2", and "3" are instances of the object above:
{
"1": {},
"2": {},
"3": {}
}
So essentially, this is a cluster containing clusters:
The approach for the next level is practically the same:
{
"TCP": {}
}
And finally, there can be multiple instances of that, which, again, works the same:
{
"EQ1": {},
"EQ2": {}
}
This is the final form as far as I can tell. Now you can use either JSONtext or LabVIEW's built-in Flatten To JSON function to convert it to JSON
{"EQ1":{"TCP":{"1":{"Type":"ABC","IP":"192.168.0.0","Port":111,"Still":1,"Register":"Register","Address":12345,"SizeLength":1,"FET":2,"Size":"big","Conversion":"small"},"2":{"Type":"ABC","IP":"192.168.0.0","Port":111,"Still":1,"Register":"Register","Address":12345,"SizeLength":1,"FET":2,"Size":"big","Conversion":"small"},"3":{"Type":"ABC","IP":"192.168.0.0","Port":111,"Still":1,"Register":"Register","Address":12345,"SizeLength":1,"FET":2,"Size":"big","Conversion":"small"}}},"EQ2":{"TCP":{"1":{"Type":"ABC","IP":"192.168.0.0","Port":111,"Still":1,"Register":"Register","Address":12345,"SizeLength":1,"FET":2,"Size":"big","Conversion":"small"},"2":{"Type":"ABC","IP":"192.168.0.0","Port":111,"Still":1,"Register":"Register","Address":12345,"SizeLength":1,"FET":2,"Size":"big","Conversion":"small"},"3":{"Type":"ABC","IP":"192.168.0.0","Port":111,"Still":1,"Register":"Register","Address":12345,"SizeLength":1,"FET":2,"Size":"big","Conversion":"small"}}}}
The mapping of your input data should be straight forward.