{"action":"closed","issue":{"url":"https://api.github.com/repos/thejameskyle/pretty-format/issues/32","repository_url":"https://api.github.com/repos/thejameskyle/pretty-format","labels_url":"https://api.github.com/repos/thejameskyle/pretty-format/issues/32/labels{/name}","comments_url":"https://api.github.com/repos/thejameskyle/pretty-format/issues/32/comments","events_url":"https://api.github.com/repos/thejameskyle/pretty-format/issues/32/events","html_url":"https://github.com/thejameskyle/pretty-format/issues/32","id":175317271,"number":32,"title":"Immutable.js objects are printed as simple data structures","user":{"login":"dmitriiabramov","id":940133,"avatar_url":"https://avatars.githubusercontent.com/u/940133?v=3","gravatar_id":"","url":"https://api.github.com/users/dmitriiabramov","html_url":"https://github.com/dmitriiabramov","followers_url":"https://api.github.com/users/dmitriiabramov/followers","following_url":"https://api.github.com/users/dmitriiabramov/following{/other_user}","gists_url":"https://api.github.com/users/dmitriiabramov/gists{/gist_id}","starred_url":"https://api.github.com/users/dmitriiabramov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmitriiabramov/subscriptions","organizations_url":"https://api.github.com/users/dmitriiabramov/orgs","repos_url":"https://api.github.com/users/dmitriiabramov/repos","events_url":"https://api.github.com/users/dmitriiabramov/events{/privacy}","received_events_url":"https://api.github.com/users/dmitriiabramov/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-09-06T18:28:30Z","updated_at":"2016-12-12T17:52:03Z","closed_at":"2016-12-12T17:52:03Z","body":"https://github.com/facebook/jest/issues/1622\n\n```\n> Immutable = require('immutable'); format = require('pretty-format');\n[Function: prettyFormat]\n> format(Immutable.List([1, 2, 3]));\n'Array [\\n  1,\\n  2,\\n  3\\n]'\n> format([1, 2, 3]);\n'Array [\\n  1,\\n  2,\\n  3\\n]'\n>\n```\n\nExpected behavior is probably to have it printed as `List [1, 2, 3]`.\n\nit happens because there's a `.toJSON` called on values if it's present.\n"}}
{"actor":{"display_login":"cpojer"}}