{
"questions_id":[
"7",
"9",
"2"
],
"select_param_type":[
"is greater than",
"is less than",
"is less than"
],
"select_param_value":[
"2",
"4",
"2"
],
"radio_type":[
"and",
"or",
]
}
I want to interpret the JSON data in this sequence:
questions_id, select_param_type, select_param_value, radio_type
.
An example format would be:
["7", "is greater than", "2", "and", "9", "is less than", "4", "or", "2", "is less than", "2" ]
The radio_type
acts as the connection point between different Array levels.
Any suggestions on how I can accomplish this task?
Thank you.