{"action":"created","issue":{"url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/issues/374","labels_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/issues/374/labels{/name}","comments_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/issues/374/comments","events_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/issues/374/events","html_url":"https://github.com/OpenMDAO/OpenMDAO/pull/374","id":114912872,"number":374,"title":"Add JSON Recorder","user":{"login":"jonathonw","id":145602,"avatar_url":"https://avatars.githubusercontent.com/u/145602?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathonw","html_url":"https://github.com/jonathonw","followers_url":"https://api.github.com/users/jonathonw/followers","following_url":"https://api.github.com/users/jonathonw/following{/other_user}","gists_url":"https://api.github.com/users/jonathonw/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathonw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathonw/subscriptions","organizations_url":"https://api.github.com/users/jonathonw/orgs","repos_url":"https://api.github.com/users/jonathonw/repos","events_url":"https://api.github.com/users/jonathonw/events{/privacy}","received_events_url":"https://api.github.com/users/jonathonw/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-11-03T21:19:29Z","updated_at":"2015-11-05T22:10:01Z","closed_at":"2015-11-05T22:10:01Z","pull_request":{"url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/pulls/374","html_url":"https://github.com/OpenMDAO/OpenMDAO/pull/374","diff_url":"https://github.com/OpenMDAO/OpenMDAO/pull/374.diff","patch_url":"https://github.com/OpenMDAO/OpenMDAO/pull/374.patch"},"body":"This PR adds a recorder which outputs data in JSON format.\r\n\r\nOne thing we weren't 100% sure about:  JSON doesn't lend itself well to continuous \"streaming\"-style output, to allow the recorded results to be observed while problem execution is still in progress--  JSON can't be well-formed if you're building it incrementally.  We handled this by waiting until execution is complete (and `recorder.close()` is called) to write the JSON to the output file.  Is that the right approach here, or would it be better to output partial, non-well-formed JSON while problem execution is still in progress?"},"comment":{"url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/issues/comments/154211138","html_url":"https://github.com/OpenMDAO/OpenMDAO/pull/374#issuecomment-154211138","issue_url":"https://api.github.com/repos/OpenMDAO/OpenMDAO/issues/374","id":154211138,"user":{"login":"naylor-b","id":701448,"avatar_url":"https://avatars.githubusercontent.com/u/701448?v=3","gravatar_id":"","url":"https://api.github.com/users/naylor-b","html_url":"https://github.com/naylor-b","followers_url":"https://api.github.com/users/naylor-b/followers","following_url":"https://api.github.com/users/naylor-b/following{/other_user}","gists_url":"https://api.github.com/users/naylor-b/gists{/gist_id}","starred_url":"https://api.github.com/users/naylor-b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naylor-b/subscriptions","organizations_url":"https://api.github.com/users/naylor-b/orgs","repos_url":"https://api.github.com/users/naylor-b/repos","events_url":"https://api.github.com/users/naylor-b/events{/privacy}","received_events_url":"https://api.github.com/users/naylor-b/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T22:10:01Z","updated_at":"2015-11-05T22:10:01Z","body":"OK, thanks."}}