aLiveCodeArray["formats"][1]["filename"]
Peter
Thanks Peter.. I get it… I think… In the following we actually have a nested
object. Hence the need to use [1].
As per the JSON "rules" for what an array may contain
An array is an ordered collection of values. An array begins with [ (left
bracket) and ends with ] (right bracket). Values are separated by , (comma).
A value can be a string in double quotes, or a number, or true or false or
null, or an object or an array. These structures can be nested.
"formats": [{
"filename": "gr_1999-01-11_the-path-to-god.mp3",
"format_name": "mp3",
"isbn": null,
"item_format_id": 1009,
"item_id": 1217,
"sale_date": null,
"url": null
}],
_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode