[Playlist] xspf over json
Lucas Gonze
lgonze at panix.com
Sat Apr 28 20:34:02 UTC 2007
> On 4/27/07, Chris Anderson <jchris at mfdz.com> wrote:
>> I also could not find any sub-json types. Interestingly, xspf is not
>> on that page either.
Should this media type just be the same as normal JSON?
Ivo Emanuel Gonçalves wrote:
> I still have no idea what json is. If it's nothing that will help
> spread open media formats, especially Xiph ones, I see no reason to
> even bother with it.
JSON is fascinating thing, Ivo. At a literal level it means to
serialize data structures using Javascript syntax. It is most commonly
used by browser apps, which use it because it requires no parsing step
(unlike XML) and because it can escape both same-domain access
restrictions and Flash's need for a crossdomain.xml file to allow XML
loads from third parties.
What is interesting about it is the potential to use it as a whole-hog
replacement for XML, since it has many of the same benefits (extensible
application formats, non-ASCII character sets) but with less complexity.
There's no SAX model, for example.
I am for Chris' project. JSON encodings of XSPF are happening in the
wild so we should do what we can to make them interoperable.
-Lucas
More information about the Playlist
mailing list