I'm using JSON becuase of it's compatibility with javascript and python both. I never used YAML but i think the compatibility's problem are bigger with YAML than json.
My 2 cents. Agnese 2013/8/31 Andre Terra <[email protected]> > It depends on where your data is coming from. YAML has less cruft in it, > so if you're writing your own serializer you can consider it to have an > advantage over JSON. > > OTOH, many applications can already export to JSON, so you can leverage > that if that's the case. > > Finally, If you're writing anything by hand, YAML is much faster. > > > Cheers, > AT > > > On Fri, Aug 30, 2013 at 4:55 PM, Rich Haase <[email protected]> wrote: > >> Personal preference. Python has excellent libraries to support parsing >> both JSON and YAML. >> >> Sent from my iPhone >> >> On Aug 30, 2013, at 7:34 AM, Floor Tile <[email protected]> wrote: >> >> Helle everybody, >> >> Just a short and simple question: >> >> It seams that both JSON and YAML can be used for initial data loading. >> (among other data types but I don't care about them for the moment) >> But can't figure out what the up and/or downsides of them are. >> Is it purely a matter of personal preference or there one better to use >> than the other for initial data loading. And which one would be the most >> preferred, if this is the case? >> >> Many thanks in advance! >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/django-users. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/django-users. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/django-users. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. For more options, visit https://groups.google.com/groups/opt_out.

