{"action":"created","issue":{"url":"https://api.github.com/repos/esl/MongooseIM/issues/532","labels_url":"https://api.github.com/repos/esl/MongooseIM/issues/532/labels{/name}","comments_url":"https://api.github.com/repos/esl/MongooseIM/issues/532/comments","events_url":"https://api.github.com/repos/esl/MongooseIM/issues/532/events","html_url":"https://github.com/esl/MongooseIM/pull/532","id":109077748,"number":532,"title":"Replacing the Mochijson2 usage with JSX","user":{"login":"wende","id":4634386,"avatar_url":"https://avatars.githubusercontent.com/u/4634386?v=3","gravatar_id":"","url":"https://api.github.com/users/wende","html_url":"https://github.com/wende","followers_url":"https://api.github.com/users/wende/followers","following_url":"https://api.github.com/users/wende/following{/other_user}","gists_url":"https://api.github.com/users/wende/gists{/gist_id}","starred_url":"https://api.github.com/users/wende/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wende/subscriptions","organizations_url":"https://api.github.com/users/wende/orgs","repos_url":"https://api.github.com/users/wende/repos","events_url":"https://api.github.com/users/wende/events{/privacy}","received_events_url":"https://api.github.com/users/wende/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-09-30T12:35:39Z","updated_at":"2015-09-30T13:39:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/esl/MongooseIM/pulls/532","html_url":"https://github.com/esl/MongooseIM/pull/532","diff_url":"https://github.com/esl/MongooseIM/pull/532.diff","patch_url":"https://github.com/esl/MongooseIM/pull/532.patch"},"body":"All REST API mochijson2 calls replaced with JSX, which embraces usage of utf8 and utf16 special characters."},"comment":{"url":"https://api.github.com/repos/esl/MongooseIM/issues/comments/144400967","html_url":"https://github.com/esl/MongooseIM/pull/532#issuecomment-144400967","issue_url":"https://api.github.com/repos/esl/MongooseIM/issues/532","id":144400967,"user":{"login":"ppikula","id":244143,"avatar_url":"https://avatars.githubusercontent.com/u/244143?v=3","gravatar_id":"","url":"https://api.github.com/users/ppikula","html_url":"https://github.com/ppikula","followers_url":"https://api.github.com/users/ppikula/followers","following_url":"https://api.github.com/users/ppikula/following{/other_user}","gists_url":"https://api.github.com/users/ppikula/gists{/gist_id}","starred_url":"https://api.github.com/users/ppikula/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ppikula/subscriptions","organizations_url":"https://api.github.com/users/ppikula/orgs","repos_url":"https://api.github.com/users/ppikula/repos","events_url":"https://api.github.com/users/ppikula/events{/privacy}","received_events_url":"https://api.github.com/users/ppikula/received_events","type":"User","site_admin":false},"created_at":"2015-09-30T13:39:58Z","updated_at":"2015-09-30T13:39:58Z","body":"If it can be safely removed, please do. \r\n\r\nAnother question: why the mochi format is better that JSX? IMO the second one is more compact. \r\n \r\n```\r\n% JSX:      {struct, [ <<\"a\">> , [[{ <<\"b\">> ,10 }],2] ] }\r\n% Mochi:   {struct, [{ <<\"a\">>, [{struct,[{<<\"b\">>,10}]},2]}]}\r\n```\r\nI know that it requires some work, but we don't have a strict deadline. We can do it properly, and not introduce another layer of code. Moreover, we waste some CPU cycles converting something that could have been in the right format from the beginning. \r\n\r\n\r\n"}}