{"action":"created","issue":{"url":"https://api.github.com/repos/rejectedsoftware/vibe.d/issues/1275","labels_url":"https://api.github.com/repos/rejectedsoftware/vibe.d/issues/1275/labels{/name}","comments_url":"https://api.github.com/repos/rejectedsoftware/vibe.d/issues/1275/comments","events_url":"https://api.github.com/repos/rejectedsoftware/vibe.d/issues/1275/events","html_url":"https://github.com/rejectedsoftware/vibe.d/issues/1275","id":108246751,"number":1275,"title":"problem parsing unquoted json","user":{"login":"Laeeth","id":6643582,"avatar_url":"https://avatars.githubusercontent.com/u/6643582?v=3","gravatar_id":"","url":"https://api.github.com/users/Laeeth","html_url":"https://github.com/Laeeth","followers_url":"https://api.github.com/users/Laeeth/followers","following_url":"https://api.github.com/users/Laeeth/following{/other_user}","gists_url":"https://api.github.com/users/Laeeth/gists{/gist_id}","starred_url":"https://api.github.com/users/Laeeth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Laeeth/subscriptions","organizations_url":"https://api.github.com/users/Laeeth/orgs","repos_url":"https://api.github.com/users/Laeeth/repos","events_url":"https://api.github.com/users/Laeeth/events{/privacy}","received_events_url":"https://api.github.com/users/Laeeth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-25T01:48:43Z","updated_at":"2015-09-25T02:39:27Z","closed_at":null,"body":"using std.json:\r\n\tauto json=(cast(string)std.file.read(options.filename)).parseJSON;\r\n\r\nusing vibe.d:\r\n\tauto json=(cast(string)std.file.read(options.filename)).parseJSON; //String;\r\n\r\nstd.json will process json where the field descriptions and strings are not quoted.  vibe.d will choke\r\nstd.json.JSONException@../../../../../home/laeeth/.dub/packages/vibe-d-0.7.25/source/vibe/data/json.d(1872): Expecting array.\r\n\r\nalthough it's perhaps non-standard  not to quote fields, I have seen enough of such unquoted json files to know it would be useful to be able to parse them in vibe.d, perhaps with an extra option.  for now I can just rewrite them.\r\n"},"comment":{"url":"https://api.github.com/repos/rejectedsoftware/vibe.d/issues/comments/143107569","html_url":"https://github.com/rejectedsoftware/vibe.d/issues/1275#issuecomment-143107569","issue_url":"https://api.github.com/repos/rejectedsoftware/vibe.d/issues/1275","id":143107569,"user":{"login":"Laeeth","id":6643582,"avatar_url":"https://avatars.githubusercontent.com/u/6643582?v=3","gravatar_id":"","url":"https://api.github.com/users/Laeeth","html_url":"https://github.com/Laeeth","followers_url":"https://api.github.com/users/Laeeth/followers","following_url":"https://api.github.com/users/Laeeth/following{/other_user}","gists_url":"https://api.github.com/users/Laeeth/gists{/gist_id}","starred_url":"https://api.github.com/users/Laeeth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Laeeth/subscriptions","organizations_url":"https://api.github.com/users/Laeeth/orgs","repos_url":"https://api.github.com/users/Laeeth/repos","events_url":"https://api.github.com/users/Laeeth/events{/privacy}","received_events_url":"https://api.github.com/users/Laeeth/received_events","type":"User","site_admin":false},"created_at":"2015-09-25T02:39:27Z","updated_at":"2015-09-25T02:39:27Z","body":"Still haven't yet figured out whether the problem is the data is unquoted, or it is stored as a dictionary not array on the outside.  Found another problem too."}}