Hi, as a beginner I was trying use the following JSON data:
{
“formData”:{
“txn”:false,
“mu”:true,
“on”:true,
“wolf”:false,
},
“submit”:true}
How can I (after deserializing the JSON data) iterate through the data so that I can get each item with the label true? (in this case this should be stored in an array (“mu”,“on”)
Unfortunately this only gave me the output of one box. As I have 8 boxes with individual states, how can I create an array that only encorporates the checkboxes that are having the TRUE state?
Maybe I didnt mentioned that I’m using Select Boxes instead of Checkbox function.