Using JSON Data with Coldfusion

前端 未结 2 858
旧巷少年郎
旧巷少年郎 2020-12-03 09:31

I\'ve worked with JSON data in the past - mainly \'fudging\' my way to a solution, and not really understanding why or how things work. I\'ve come across an issue where the

2条回答
  •  长情又很酷
    2020-12-03 10:04

    If you run this with deserializeJSON(data), you'll see that you just end up with structures with nested structures. So, you can loop through your struct, grab the keys and then grab that key's status. In JSON terms, your JSON object has nested objects.

    
    
    
    
    
        
        
        
    
    
    
    

提交回复
热议问题