How to convert property list from XML to JSON?

Kryptix

New Member
Sublime Text 2 uses plist to define language syntax , just like TextMate.
But as the docs says, people write JSON to make plugins then convert it to plist rather than use YAML or JSON directly.
And I look through some plgins, most of them just provide \[code\].tmLanguage\[/code\] file in its Github repo. Do they write XML directly?Anyway once I want to learn from others' code I have to read XML, or I have to convert plist to JSON.
There is a package of Sublime does that previously.
https://github.com/facelessuser/PlistJsonConverter
But it requires python2.6 which made me confused because no both my Arch and Ubuntu 12.10 there's I can't find python2.6. It's 2.7. Is there any method I can convert plist to JSON please?
 
Back
Top