Convert JSON to .plist Convert JSON to .plist ios ios

Convert JSON to .plist


I'd recommend plutil on the command line.

plutil -convert xml1 in.json -o out.plist

It will blow up with NULL values in dictionaries and some other inconsistencies that iOS JSON deserialization will handle more gracefully, but it does appear to work pretty well.


I wrote an online converter to do this. Please have a try.

http://json2plist.sinaapp.com/


David's answer works pretty well, but as a Ruby lover I've written a very simple tool to do the same with ruby: https://github.com/javiertoledo/json2plist