{"action":"opened","issue":{"url":"https://api.github.com/repos/nlohmann/json/issues/1229","repository_url":"https://api.github.com/repos/nlohmann/json","labels_url":"https://api.github.com/repos/nlohmann/json/issues/1229/labels{/name}","comments_url":"https://api.github.com/repos/nlohmann/json/issues/1229/comments","events_url":"https://api.github.com/repos/nlohmann/json/issues/1229/events","html_url":"https://github.com/nlohmann/json/issues/1229","id":358477752,"node_id":"MDU6SXNzdWUzNTg0Nzc3NTI=","number":1229,"title":"Parse Error","user":{"login":"gLevaa","id":32972874,"node_id":"MDQ6VXNlcjMyOTcyODc0","avatar_url":"https://avatars0.githubusercontent.com/u/32972874?v=4","gravatar_id":"","url":"https://api.github.com/users/gLevaa","html_url":"https://github.com/gLevaa","followers_url":"https://api.github.com/users/gLevaa/followers","following_url":"https://api.github.com/users/gLevaa/following{/other_user}","gists_url":"https://api.github.com/users/gLevaa/gists{/gist_id}","starred_url":"https://api.github.com/users/gLevaa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gLevaa/subscriptions","organizations_url":"https://api.github.com/users/gLevaa/orgs","repos_url":"https://api.github.com/users/gLevaa/repos","events_url":"https://api.github.com/users/gLevaa/events{/privacy}","received_events_url":"https://api.github.com/users/gLevaa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-10T05:54:56Z","updated_at":"2018-09-10T05:54:56Z","closed_at":null,"author_association":"NONE","body":"I'm parsing JSON sent to a socketing server like so;\r\n\r\n```\r\n        try\r\n \t{\r\n\t\tnlohmann::json json;\r\n\t\tjson.parse(request);\r\n\r\n\t\tif (json[0].get<std::string>().find(\"z\") != std::string::npos && json[0].get<std::string>().find(\"L\") != std::string::npos &&\r\n\t\t\tjson[0].get<std::string>().find(\"|\") != std::string::npos && json[0].get<std::string>().find(\"jM\") != std::string::npos)\r\n\t\t\treturn true;\r\n\t}\r\n\tcatch (nlohmann::detail::parse_error e)\r\n\t{\r\n\t\tc_logger::error(e.what());\r\n\t\treturn false;\r\n\t}\r\n```\r\n\r\nThis is the output from the server after receiving the request;\r\n```\r\n[~] = {\"auth\":\"p4AzO|L1jMf=\",\"request\":\"update_ips\",\"ips\":{\"ip1\":\"144.12.123.11\",\"ip2\":\"122.311.33.87\",\"ip3\":\"91.122.31.633\",},\"ip_amount\":3}\r\n[~] [error] = [json.exception.parse_error.101] parse error at 120: syntax error - unexpected '}'; expected string literal\r\n```\r\n\r\nI really don't see what the issue is, it's probably something really stupid. Help would be appreciated.\r\n"}}
{"actor":{"display_login":"gLevaa"}}