Using JSON library with Arduino

In Arduino how to use both json generator and parser library in a single sketch ?

While i use ,
#include <JsonGenerator.h>
#include <JsonParser.h>

It throws errors stating,

“ArduinoJsonParser\utility\jsmn.cpp.o: In function jsmn_parse(jsmn_parser*, char const*, jsmntok_t*, unsigned int)': C:\Users\Guna Qruize\Documents\Arduino\libraries\ArduinoJsonParser\utility/jsmn.cpp:135: multiple definition of jsmn_parse(jsmn_parser*, char const*, jsmntok_t*, unsigned int)’
ArduinoJson\JsonParser.cpp.o:C:\Users\Guna Qruize\Documents\Arduino\libraries\ArduinoJson/JsonParser/jsmn.cpp:135: first defined here
ArduinoJsonParser\utility\jsmn.cpp.o: In function jsmn_init(jsmn_parser*)': C:\Users\Guna Qruize\Documents\Arduino\libraries\ArduinoJsonParser\utility/jsmn.cpp:250: multiple definition of jsmn_init(jsmn_parser*)’
ArduinoJson\JsonParser.cpp.o:C:\Users\Guna Qruize\Documents\Arduino\libraries\ArduinoJson/JsonParser/jsmn.cpp:250: first defined here”

I suspect the best source of answers will be the guy who wrote the code

Why don't you post an issue on GitHub (where I presume you got the code)

https://github.com/bblanchon/ArduinoJson

Or did you get it somewhere else?

Ya the same one ,

https://github.com/bblanchon/ArduinoJson

.... The creator has already explained this scenario, but i dint get it

http://blog.benoitblanchon.fr/arduino-json-v2-0/

Thanks, Guna

It may help if you posted his response to this forum, and explain what you "didn't get"

It might also help, a lot, if you didn't cross-post.

http://forum.arduino.cc/index.php?topic=172578.msg1976248#msg1976248