Hi all,
I have a table with 2 fields:
key
DataInJSon
something like:
Now what I want is a json like this:
How can I concatenate all my rows table to generate a json with all my rows?
Many thanks.
I have a table with 2 fields:
key
DataInJSon
something like:
CARNIVORES | A json with a list of carnivores animal and some details | |
VEGETARIAN |
|
|
OMNIVORES | A json with a list of vegetarian animal and some details |
Now what I want is a json like this:
Code:
{"Animal" : [key1: datainJson1, key2: datainJson2, key3 : datainJson3]}
Many thanks.
Comment