Added support for adding booleans to Json Objects.
Added '/' to the list of characters that are escaped. Fixes #41
Fixed keywords.txt file
Make parser more robust
The original parser does not cope gracefully with input that is not proper json. Try sending "Hi there" to any of the library examples and see the results. This commit adds two things: - the "getch" method now times out after 500ms. This removes the situation whereby the parser got often stuck waiting forever on malformed input. - A new "flush" method is added, because the parser leaves the input buffer untouched in case it cannot understand the contents, which means that it will get stuck forever again trying to parse the same input if we try several times.
Fix missing 'class' keyword in friend declaration (issue #30)
Currently, the aJson library uses FILE* avr-libc streams, which does not play well with the Arduino ecosystem. We introduce a new class aJsonStream (plus two subclasses aJsonClientStream and aJsonStringStream) that use the Wiring Stream object. This allows to easily exchange JSON data e.g. over Serial and EthernetClient. An accompanying example Json_Serial shows how to use this functionality to send and receive JSON data over Serial.
Added an example to demonstrate Multi level JSON Parsing
Modified Readme file so that it is formatted nicely while viewing in Github.
Arduino 1.0 compatibility of the example sketch
…sed to float) slight prcisiion problems, but that is ok for now