[Solved] Structure for a json needed
Posted: Fri Feb 27, 2015 2:20 pm
Hi,
I get a json string from a shop system, which I want to insert in a structure.
First bad thing was that a field is named data I had no other chance, I had to use #PB_JSON_NoCase.
Ok, solved.
No I get something like that:
I tried all what I know with List and Array, but if I do the other way round, I get always [ ]
and nothing similar to the listing above.
How can I reflect this in a structure, that it is filled by InsertJSONStructure()
Bernd
I get a json string from a shop system, which I want to insert in a structure.
First bad thing was that a field is named data I had no other chance, I had to use #PB_JSON_NoCase.
Ok, solved.
No I get something like that:
Code: Select all
{
"categories":
{
"14":{"id":14,"name":"Edelbr\u00e4nde"},
"21":{"id":21,"name":"Produktvergleiche & Filter"},
"50":{"id":50,"name":"Brandies"}
}
}
and nothing similar to the listing above.
How can I reflect this in a structure, that it is filled by InsertJSONStructure()

Bernd