{"action":"created","issue":{"url":"https://api.github.com/repos/bblanchon/ArduinoJson/issues/64","labels_url":"https://api.github.com/repos/bblanchon/ArduinoJson/issues/64/labels{/name}","comments_url":"https://api.github.com/repos/bblanchon/ArduinoJson/issues/64/comments","events_url":"https://api.github.com/repos/bblanchon/ArduinoJson/issues/64/events","html_url":"https://github.com/bblanchon/ArduinoJson/pull/64","id":69186247,"number":64,"title":"convert long to double","user":{"login":"firepick1","id":3161986,"avatar_url":"https://avatars.githubusercontent.com/u/3161986?v=3","gravatar_id":"","url":"https://api.github.com/users/firepick1","html_url":"https://github.com/firepick1","followers_url":"https://api.github.com/users/firepick1/followers","following_url":"https://api.github.com/users/firepick1/following{/other_user}","gists_url":"https://api.github.com/users/firepick1/gists{/gist_id}","starred_url":"https://api.github.com/users/firepick1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/firepick1/subscriptions","organizations_url":"https://api.github.com/users/firepick1/orgs","repos_url":"https://api.github.com/users/firepick1/repos","events_url":"https://api.github.com/users/firepick1/events{/privacy}","received_events_url":"https://api.github.com/users/firepick1/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-17T17:56:44Z","updated_at":"2015-04-18T13:49:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bblanchon/ArduinoJson/pulls/64","html_url":"https://github.com/bblanchon/ArduinoJson/pull/64","diff_url":"https://github.com/bblanchon/ArduinoJson/pull/64.diff","patch_url":"https://github.com/bblanchon/ArduinoJson/pull/64.patch"},"body":"Benoit,\r\n\r\nMany thanks for ArduinoJson. I intend to use it in FirePick Delta for CNC motion control adopting a JSON style of interaction modeled after TinyG. I do very much like your library. For larger projects I use Jansson, but your library is excellent for Arduino with its smaller footprint.\r\n\r\nOn a minor note, I made a small modification that you may or may not want. I convert long to double automatically. For me this simplifies my code so that I can deal with numbers as double regardless. I'm happy working off my fork--that's the only thing I had to change.  I know that it's a slippery slope doing this type of \"nice conversion.\" In this case, I found it worthwhile on the client side. The alternate solution is to provide a new utility method (e.g., asNumber()). After careful consideration, I chose this as less invasive of the API.\r\n\r\nAnyhow, thanks for ArduinoJson!"},"comment":{"url":"https://api.github.com/repos/bblanchon/ArduinoJson/issues/comments/94166291","html_url":"https://github.com/bblanchon/ArduinoJson/pull/64#issuecomment-94166291","issue_url":"https://api.github.com/repos/bblanchon/ArduinoJson/issues/64","id":94166291,"user":{"login":"bblanchon","id":5462433,"avatar_url":"https://avatars.githubusercontent.com/u/5462433?v=3","gravatar_id":"","url":"https://api.github.com/users/bblanchon","html_url":"https://github.com/bblanchon","followers_url":"https://api.github.com/users/bblanchon/followers","following_url":"https://api.github.com/users/bblanchon/following{/other_user}","gists_url":"https://api.github.com/users/bblanchon/gists{/gist_id}","starred_url":"https://api.github.com/users/bblanchon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bblanchon/subscriptions","organizations_url":"https://api.github.com/users/bblanchon/orgs","repos_url":"https://api.github.com/users/bblanchon/repos","events_url":"https://api.github.com/users/bblanchon/events{/privacy}","received_events_url":"https://api.github.com/users/bblanchon/received_events","type":"User","site_admin":false},"created_at":"2015-04-18T13:49:22Z","updated_at":"2015-04-18T13:49:22Z","body":"This is actually a good feature.\r\nHowever, I'm always careful when increasing the size of ArduinoJson because it may break existing code.\r\nI think I'll include you patch in ArduinoJson 5.0 that I want to me more tolerant to non standard input."}}