{"action":"closed","issue":{"url":"https://api.github.com/repos/DanToml/Jay/issues/52","repository_url":"https://api.github.com/repos/DanToml/Jay","labels_url":"https://api.github.com/repos/DanToml/Jay/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/DanToml/Jay/issues/52/comments","events_url":"https://api.github.com/repos/DanToml/Jay/issues/52/events","html_url":"https://github.com/DanToml/Jay/issues/52","id":179547225,"number":52,"title":"Incorrect String->Int map detection","user":{"login":"remko","id":12300,"avatar_url":"https://avatars.githubusercontent.com/u/12300?v=3","gravatar_id":"","url":"https://api.github.com/users/remko","html_url":"https://github.com/remko","followers_url":"https://api.github.com/users/remko/followers","following_url":"https://api.github.com/users/remko/following{/other_user}","gists_url":"https://api.github.com/users/remko/gists{/gist_id}","starred_url":"https://api.github.com/users/remko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remko/subscriptions","organizations_url":"https://api.github.com/users/remko/orgs","repos_url":"https://api.github.com/users/remko/repos","events_url":"https://api.github.com/users/remko/events{/privacy}","received_events_url":"https://api.github.com/users/remko/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-09-27T16:40:25Z","updated_at":"2016-12-05T13:48:09Z","closed_at":"2016-12-05T13:48:09Z","body":"When I run the following code:\n\n```\nlet value = [\"foo\": 42]\nprint(value)\nif let data = try? Jay().dataFromJson(any: value) {\nprint(String(bytes: data, encoding: String.Encoding.utf8))\n}\n```\n\nit outputs\n\n```\n[\"foo\": 42]\nOptional(\"{\\\"foo\\\":true}\")\n```\n\nIs it expected that Jay interprets the number as a boolean?\n"}}
{"actor":{"display_login":"DanToml"}}