{"action":"created","issue":{"url":"https://api.github.com/repos/bblanchon/ArduinoJson/issues/338","repository_url":"https://api.github.com/repos/bblanchon/ArduinoJson","labels_url":"https://api.github.com/repos/bblanchon/ArduinoJson/issues/338/labels{/name}","comments_url":"https://api.github.com/repos/bblanchon/ArduinoJson/issues/338/comments","events_url":"https://api.github.com/repos/bblanchon/ArduinoJson/issues/338/events","html_url":"https://github.com/bblanchon/ArduinoJson/issues/338","id":172819759,"number":338,"title":"signed long serialized as \"true\"","user":{"login":"ControlFreakyKiwi","id":3689259,"avatar_url":"https://avatars.githubusercontent.com/u/3689259?v=3","gravatar_id":"","url":"https://api.github.com/users/ControlFreakyKiwi","html_url":"https://github.com/ControlFreakyKiwi","followers_url":"https://api.github.com/users/ControlFreakyKiwi/followers","following_url":"https://api.github.com/users/ControlFreakyKiwi/following{/other_user}","gists_url":"https://api.github.com/users/ControlFreakyKiwi/gists{/gist_id}","starred_url":"https://api.github.com/users/ControlFreakyKiwi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ControlFreakyKiwi/subscriptions","organizations_url":"https://api.github.com/users/ControlFreakyKiwi/orgs","repos_url":"https://api.github.com/users/ControlFreakyKiwi/repos","events_url":"https://api.github.com/users/ControlFreakyKiwi/events{/privacy}","received_events_url":"https://api.github.com/users/ControlFreakyKiwi/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bblanchon/ArduinoJson/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":12,"created_at":"2016-08-23T22:09:33Z","updated_at":"2016-08-25T22:37:33Z","closed_at":null,"body":"Hello and thank you for your hard work and making your library available.\r\nPlease excuse my stupidity in advance, I am having trouble with your JsonGeneratorExample.ino example,\r\n\r\nI have compiled your example exactly as you have written it, but the output on the serial port is below and is different to yours. I am using Windows 10, Arduino 1.6.8 and Arduino 2560 R3. and Visual Studio 2013 with visual micro.\r\n\r\n\r\n\r\nI would like to create a flat Json string (no nesting) with different data types, for some reason I cannot create a \"key : signed long\"  pair but a \"key : double\" pair works. (maybe you could show me a small example with a signed long)\r\n\r\nI have tried reading all the FAQ and pitfalls , and after trying your unaltered example with unsuccessful serial output posted this question. thanks in advance.\r\n\r\n\r\nEDIT I have discovered compiling and uploading in Arduino IDE alone produces the correct serial output. why would this be?\r\n\r\n\r\nOpening port\r\nPort open\r\nOpening port\r\nPort open\r\n{\"sensor\":[],\"time\":true,\"data\":8493}\r\n{\r\n  \"sensor\": [],\r\n  \"time\": true,\r\n  \"data\": 8493\r\n}\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/bblanchon/ArduinoJson/issues/comments/242566142","html_url":"https://github.com/bblanchon/ArduinoJson/issues/338#issuecomment-242566142","issue_url":"https://api.github.com/repos/bblanchon/ArduinoJson/issues/338","id":242566142,"user":{"login":"ControlFreakyKiwi","id":3689259,"avatar_url":"https://avatars.githubusercontent.com/u/3689259?v=3","gravatar_id":"","url":"https://api.github.com/users/ControlFreakyKiwi","html_url":"https://github.com/ControlFreakyKiwi","followers_url":"https://api.github.com/users/ControlFreakyKiwi/followers","following_url":"https://api.github.com/users/ControlFreakyKiwi/following{/other_user}","gists_url":"https://api.github.com/users/ControlFreakyKiwi/gists{/gist_id}","starred_url":"https://api.github.com/users/ControlFreakyKiwi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ControlFreakyKiwi/subscriptions","organizations_url":"https://api.github.com/users/ControlFreakyKiwi/orgs","repos_url":"https://api.github.com/users/ControlFreakyKiwi/repos","events_url":"https://api.github.com/users/ControlFreakyKiwi/events{/privacy}","received_events_url":"https://api.github.com/users/ControlFreakyKiwi/received_events","type":"User","site_admin":false},"created_at":"2016-08-25T22:37:33Z","updated_at":"2016-08-25T22:37:33Z","body":"Well this is very interesting and confusing at the same time, I deleted the ArduinoJson folder from the libraries folder and tried to compile in Visual Studio and it failed as expected.\r\n\r\nI deleted the file library_index.json from %LOCALAPPDATA%\\Arduino15   (there was no library_index.json.tmp.gz to delete)\r\n\r\nI also found an ArduinoJson.zip in %LOCALAPPDATA%\\Arduino15\\staging which I deleted\r\n\r\nI then unzipped again ArduinoJson to my Arduino\\libraries folder and recompiled and as you French say voila!. it works as expected.\r\n\r\nThank you again for your time , help and for your library, and especially the documentation , if English is your second language this is incredible work.\r\n\r\n"}}
{"actor":{"display_login":"ControlFreakyKiwi"}}