{"action":"created","issue":{"url":"https://api.github.com/repos/mailjet/mailjet-apiv3-php-simple/issues/118","labels_url":"https://api.github.com/repos/mailjet/mailjet-apiv3-php-simple/issues/118/labels{/name}","comments_url":"https://api.github.com/repos/mailjet/mailjet-apiv3-php-simple/issues/118/comments","events_url":"https://api.github.com/repos/mailjet/mailjet-apiv3-php-simple/issues/118/events","html_url":"https://github.com/mailjet/mailjet-apiv3-php-simple/issues/118","id":111339319,"number":118,"title":"Json encode doesnt work with parameters in PHP version 5.3","user":{"login":"giak","id":5073444,"avatar_url":"https://avatars.githubusercontent.com/u/5073444?v=3","gravatar_id":"","url":"https://api.github.com/users/giak","html_url":"https://github.com/giak","followers_url":"https://api.github.com/users/giak/followers","following_url":"https://api.github.com/users/giak/following{/other_user}","gists_url":"https://api.github.com/users/giak/gists{/gist_id}","starred_url":"https://api.github.com/users/giak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giak/subscriptions","organizations_url":"https://api.github.com/users/giak/orgs","repos_url":"https://api.github.com/users/giak/repos","events_url":"https://api.github.com/users/giak/events{/privacy}","received_events_url":"https://api.github.com/users/giak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-10-14T07:18:23Z","updated_at":"2015-10-15T15:16:19Z","closed_at":null,"body":"this not compatible with PHP version < 5.4.0\r\njson_encode($params, JSON_UNESCAPED_SLASHES)\r\n\r\nNeed to remove the second parameter to worked in PHP 5.3\r\n\r\nWe could do this :\r\n        if (version_compare(phpversion(), '5.4.0', '<')) {\r\n            $data= json_encode($params);\r\n        } else {\r\n            $data= json_encode($params, JSON_UNESCAPED_SLASHES);\r\n        }\r\n"},"comment":{"url":"https://api.github.com/repos/mailjet/mailjet-apiv3-php-simple/issues/comments/148418630","html_url":"https://github.com/mailjet/mailjet-apiv3-php-simple/issues/118#issuecomment-148418630","issue_url":"https://api.github.com/repos/mailjet/mailjet-apiv3-php-simple/issues/118","id":148418630,"user":{"login":"giak","id":5073444,"avatar_url":"https://avatars.githubusercontent.com/u/5073444?v=3","gravatar_id":"","url":"https://api.github.com/users/giak","html_url":"https://github.com/giak","followers_url":"https://api.github.com/users/giak/followers","following_url":"https://api.github.com/users/giak/following{/other_user}","gists_url":"https://api.github.com/users/giak/gists{/gist_id}","starred_url":"https://api.github.com/users/giak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giak/subscriptions","organizations_url":"https://api.github.com/users/giak/orgs","repos_url":"https://api.github.com/users/giak/repos","events_url":"https://api.github.com/users/giak/events{/privacy}","received_events_url":"https://api.github.com/users/giak/received_events","type":"User","site_admin":false},"created_at":"2015-10-15T15:16:19Z","updated_at":"2015-10-15T15:16:19Z","body":"Hi Guillaume,\r\n\r\ni'vent see that https://github.com/mailjet/mailjet-apiv3-php-simple/tree/unescaped_slashes_polyfill\r\ntoo lazy to read ;)\r\n\r\nThx\r\n\r\nPS : good work by the way about your  documention (at least)\r\nhttp://dev.mailjet.com/guides/\r\n"}}