Sannyasin Brahmanathaswami <brahma@...> writes:
> so this would translated into, using your model
>  
> {"file_id": "p6_rajam",
>           "formats": [
>         {
>    "2531x4000": {
>             "filename": "p6_rajam_ful.jpg",
>              "isbn": null,
>             "item_format_id": 43430,
>             "item_id": 3268,
>             "sale_date": "0000-00-00 00:00:00",
>             "url": null
>         },
>    "911x1440"
>              {
>             "filename": "p6_rajam_lrg.jpg",
>              "isbn": null,
>             "item_format_id": 43429,
>             "item_id": 3268,
>             "sale_date": "0000-00-00 00:00:00",
>             "url": null
>         },
>        
>  

Ah, no...
if you're going to insist on the JSON list format using the "[" and "]"
delimiters, then you're going to have to use numeric indices.

I was suggesting instead:

> {"file_id": "p6_rajam",
>           "formats": 
>         {
>    "2531x4000": {
>             "filename": "p6_rajam_ful.jpg",
>              "isbn": null,
>             "item_format_id": 43430,

etc. (difference in the "formats": line)

--
 Mark Wieder
 ahsoftw...@gmail.com



_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to