Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Parse non-xml plists #7

Open
grosser opened this Issue · 9 comments

3 participants

@bleything
Owner

Nope. That's not a plist, just some random file with a plist extension.

@bleything bleything closed this
@patsplat
Collaborator
@bleything
Owner

That was my initial thought too, but I looked around and couldn't find any official spec for json plists. I think maybe it's something that TextMate has done to encode plists in a friendlier format?

If there's a standard, even if it's emerging, I'd be happy to add support for it. I just want documentation so we don't end up implementing something broken.

@grosser

I thin kits this:
http://en.wikipedia.org/wiki/Property_list

From the look of it its the same content, just another format

@bleything bleything reopened this
@bleything
Owner

Well, just about any data structure can be turned into a plist. My opinion is that if plutil doesn't speak it, we shouldn't support it.

That said... turns out plutil has a json format now. I can't find any docs, but it should be relatively easy to write tests to verify that we're doing the right thing.

Reopening this request.

@grosser

i tried this: http://scw.us/iPhone/plutil/plutil.pl
but it did not read or convert this file, how did you do it ?

@bleything
Owner

$ man plutil

:)

@grosser

also did not work, maybe its outdated on ubuntu...

@bleything
Owner

Ah, ubuntu. plutil is part of OSX. Can't help you on other platforms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.