{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/xcbuild/issues/165","repository_url":"https://api.github.com/repos/facebook/xcbuild","labels_url":"https://api.github.com/repos/facebook/xcbuild/issues/165/labels{/name}","comments_url":"https://api.github.com/repos/facebook/xcbuild/issues/165/comments","events_url":"https://api.github.com/repos/facebook/xcbuild/issues/165/events","html_url":"https://github.com/facebook/xcbuild/pull/165","id":184119491,"number":165,"title":"Add json support to plutil.","user":{"login":"matthewbauer","id":19036,"avatar_url":"https://avatars.githubusercontent.com/u/19036?v=3","gravatar_id":"","url":"https://api.github.com/users/matthewbauer","html_url":"https://github.com/matthewbauer","followers_url":"https://api.github.com/users/matthewbauer/followers","following_url":"https://api.github.com/users/matthewbauer/following{/other_user}","gists_url":"https://api.github.com/users/matthewbauer/gists{/gist_id}","starred_url":"https://api.github.com/users/matthewbauer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/matthewbauer/subscriptions","organizations_url":"https://api.github.com/users/matthewbauer/orgs","repos_url":"https://api.github.com/users/matthewbauer/repos","events_url":"https://api.github.com/users/matthewbauer/events{/privacy}","received_events_url":"https://api.github.com/users/matthewbauer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/facebook/xcbuild/labels/CLA%20Signed","name":"CLA Signed","color":"009900"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-10-20T02:21:00Z","updated_at":"2016-10-20T07:22:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/facebook/xcbuild/pulls/165","html_url":"https://github.com/facebook/xcbuild/pull/165","diff_url":"https://github.com/facebook/xcbuild/pull/165.diff","patch_url":"https://github.com/facebook/xcbuild/pull/165.patch"},"body":"This should add plutil detection."},"comment":{"url":"https://api.github.com/repos/facebook/xcbuild/issues/comments/255028703","html_url":"https://github.com/facebook/xcbuild/pull/165#issuecomment-255028703","issue_url":"https://api.github.com/repos/facebook/xcbuild/issues/165","id":255028703,"user":{"login":"grp","id":163390,"avatar_url":"https://avatars.githubusercontent.com/u/163390?v=3","gravatar_id":"","url":"https://api.github.com/users/grp","html_url":"https://github.com/grp","followers_url":"https://api.github.com/users/grp/followers","following_url":"https://api.github.com/users/grp/following{/other_user}","gists_url":"https://api.github.com/users/grp/gists{/gist_id}","starred_url":"https://api.github.com/users/grp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grp/subscriptions","organizations_url":"https://api.github.com/users/grp/orgs","repos_url":"https://api.github.com/users/grp/repos","events_url":"https://api.github.com/users/grp/events{/privacy}","received_events_url":"https://api.github.com/users/grp/received_events","type":"User","site_admin":false},"created_at":"2016-10-20T07:22:19Z","updated_at":"2016-10-20T07:22:19Z","body":"It's definitely possible to do treat JSON as a plist format — this PR does it! I can't think of anywhere it'd cause incorrect behavior: the new parsed formats is a superset of the old ones, and invalid data is unlikely to parse as JSON anyway.\r\n\r\nMy concern is that it makes the code less *precise*. The code says to load a property list, but the implementation might load JSON instead. For me, that makes the code a little more complex and prone to error later on.\r\n\r\nAbout `.xcspec` files: they are property lists, just with a specific structure. It's similar to an `Info.plist`, also a property lists with defined special keys. The `.xcspec` files are usually in the [ASCII (NeXTSTEP)](https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/PropertyLists/OldStylePlists/OldStylePLists.html) format, which looks similar to JSON but is unrelated, but I've occasionally them as binary or XML."}}
{"actor":{"display_login":"grp"}}