How do I parse this structure? I need to turn this into single variables. E.g. from the attributes struct:
name
type
value
I'm not familiar with structures, and I need to enter this type of data into a database.
I've played around with cfloop
, but nothing.
Assuming your variable name is "foo", you can access the name like this
foo.attributes.name
Structures are simply accessed via dot notation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With