{"action":"reopened","issue":{"url":"https://api.github.com/repos/bblanchon/ArduinoJson/issues/297","repository_url":"https://api.github.com/repos/bblanchon/ArduinoJson","labels_url":"https://api.github.com/repos/bblanchon/ArduinoJson/issues/297/labels{/name}","comments_url":"https://api.github.com/repos/bblanchon/ArduinoJson/issues/297/comments","events_url":"https://api.github.com/repos/bblanchon/ArduinoJson/issues/297/events","html_url":"https://github.com/bblanchon/ArduinoJson/issues/297","id":157834585,"number":297,"title":"reading json file from SD card failed ","user":{"login":"umer427","id":19631457,"avatar_url":"https://avatars.githubusercontent.com/u/19631457?v=3","gravatar_id":"","url":"https://api.github.com/users/umer427","html_url":"https://github.com/umer427","followers_url":"https://api.github.com/users/umer427/followers","following_url":"https://api.github.com/users/umer427/following{/other_user}","gists_url":"https://api.github.com/users/umer427/gists{/gist_id}","starred_url":"https://api.github.com/users/umer427/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umer427/subscriptions","organizations_url":"https://api.github.com/users/umer427/orgs","repos_url":"https://api.github.com/users/umer427/repos","events_url":"https://api.github.com/users/umer427/events{/privacy}","received_events_url":"https://api.github.com/users/umer427/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bblanchon/ArduinoJson/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-06-01T06:43:03Z","updated_at":"2016-06-03T07:09:48Z","closed_at":null,"body":"I need to read a json file in .json extension from my SD card mounted on Arduino Mega from the help of http://www.comm2excel.com/projects/sd_card_module.php?id=15# \r\n\r\nSD card is loading pretty well but when i try to read json file, it doesnt, please help me out\r\n\r\n`# **_\r\n\r\n> void readJSON() {\r\n> \r\n>   File dataFile;\r\n>   \r\n>    dataFile= SD.open(\"amm.json\", FILE_READ);   \r\n>   String json = dataFile.readString();                    \r\n>   dataFile.close();                                      \r\n> \r\n> \r\n>   StaticJsonBuffer<4000> jsonBuffer;      \r\n>   JsonObject& root = jsonBuffer.parseObject(json);    \r\n> \r\n>   Serial.println(json);\r\n> \r\n>   if (!root.success()) {\r\n>     Serial.println(\"parseObject() failed\");\r\n>     return;   \r\n> \r\n>   }\r\n>   else { // update variables i will write my arays over here, dont worry about it\r\n> \r\n>    Serial.println(\"hi\");\r\n>     \r\n>   }\r\n> }\r\n\r\n_**`\r\n\r\n\r\nSerial monitor :  \r\n`**_\r\n\r\n> Initializing SD card...initialization done.\r\n> done!\r\n> \r\n> parseObject() failed\r\n\r\n_**\r\n\r\n`\r\n\r\nthank you."}}
{"actor":{"display_login":"umer427"}}