{"action":"created","issue":{"url":"https://api.github.com/repos/openmicroscopy/bioformats/issues/2262","repository_url":"https://api.github.com/repos/openmicroscopy/bioformats","labels_url":"https://api.github.com/repos/openmicroscopy/bioformats/issues/2262/labels{/name}","comments_url":"https://api.github.com/repos/openmicroscopy/bioformats/issues/2262/comments","events_url":"https://api.github.com/repos/openmicroscopy/bioformats/issues/2262/events","html_url":"https://github.com/openmicroscopy/bioformats/pull/2262","id":137110802,"number":2262,"title":"Micromanager: clean up JSON metadata parsing","user":{"login":"melissalinkert","id":109998,"avatar_url":"https://avatars.githubusercontent.com/u/109998?v=3","gravatar_id":"","url":"https://api.github.com/users/melissalinkert","html_url":"https://github.com/melissalinkert","followers_url":"https://api.github.com/users/melissalinkert/followers","following_url":"https://api.github.com/users/melissalinkert/following{/other_user}","gists_url":"https://api.github.com/users/melissalinkert/gists{/gist_id}","starred_url":"https://api.github.com/users/melissalinkert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melissalinkert/subscriptions","organizations_url":"https://api.github.com/users/melissalinkert/orgs","repos_url":"https://api.github.com/users/melissalinkert/repos","events_url":"https://api.github.com/users/melissalinkert/events{/privacy}","received_events_url":"https://api.github.com/users/melissalinkert/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openmicroscopy/bioformats/labels/develop","name":"develop","color":"02e10c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-28T23:28:48Z","updated_at":"2016-03-18T12:35:18Z","closed_at":"2016-03-07T20:29:32Z","pull_request":{"url":"https://api.github.com/repos/openmicroscopy/bioformats/pulls/2262","html_url":"https://github.com/openmicroscopy/bioformats/pull/2262","diff_url":"https://github.com/openmicroscopy/bioformats/pull/2262.diff","patch_url":"https://github.com/openmicroscopy/bioformats/pull/2262.patch"},"body":"See QA 17040.  This should correctly parse various types of arrays and\r\nkeys with child attributes.  As noted previously, this should eventually be replaced\r\nby use of a real JSON library.\r\n\r\nTo test, use the *.txt files from QA 17040.  Without this change, as noted in the comments for QA 17040:\r\n\r\n```\r\nYou should see lines like this in the metadata display:\r\nPlane #0 08 39 -0800\r\nPlane #0 ] Camera-SaturatePixels\r\nPlane #1 08 40 -0800\r\nPlane #1 ] Camera-SaturatePixels\r\net cetera. \r\n```\r\n\r\nWith this change, none of the metadata keys should contain ```]``` or ```[``` or be just numbers, the ```Camera-SaturatePixels``` key should be present for every plane, and in general there shouldn't be anything that looks odd.  It's also possible to double-check against the actual JSON strings by turning on TRACE-level debugging, but that requires some patience as the JSON strings do not contain line breaks and are thus a little tricky to read as-is."},"comment":{"url":"https://api.github.com/repos/openmicroscopy/bioformats/issues/comments/198331583","html_url":"https://github.com/openmicroscopy/bioformats/pull/2262#issuecomment-198331583","issue_url":"https://api.github.com/repos/openmicroscopy/bioformats/issues/2262","id":198331583,"user":{"login":"bramalingam","id":6438384,"avatar_url":"https://avatars.githubusercontent.com/u/6438384?v=3","gravatar_id":"","url":"https://api.github.com/users/bramalingam","html_url":"https://github.com/bramalingam","followers_url":"https://api.github.com/users/bramalingam/followers","following_url":"https://api.github.com/users/bramalingam/following{/other_user}","gists_url":"https://api.github.com/users/bramalingam/gists{/gist_id}","starred_url":"https://api.github.com/users/bramalingam/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bramalingam/subscriptions","organizations_url":"https://api.github.com/users/bramalingam/orgs","repos_url":"https://api.github.com/users/bramalingam/repos","events_url":"https://api.github.com/users/bramalingam/events{/privacy}","received_events_url":"https://api.github.com/users/bramalingam/received_events","type":"User","site_admin":false},"created_at":"2016-03-18T12:35:18Z","updated_at":"2016-03-18T12:35:18Z","body":"--rebased-to #2294"}}