Skip to content

Releases: MichaelBrunn3r/ArduinoJStream

Fixed bug in 'JsonParser::skipWhitespace'

14 Apr 19:15
Compare
Choose a tag to compare
Method read last char even if it was not a whitespace character. Was only noticeable when reading a stream containing UTF-8 sequences

JsonParser now only takes stream references as argument

10 Apr 20:59
Compare
Choose a tag to compare
'JsonParser::JsonParser()' and '::parse' now only take a Stream reference as an argument

'JsonParser::parseIntArray' now ignores negative numbers depending on type

09 Apr 20:18
Compare
Choose a tag to compare

'::parseIntArray' now automatically ignores negative integers depending on the type

Fixed bug in 'JsonParser::readString'

09 Apr 09:44
Compare
Choose a tag to compare
Fixed major bug in 'JsonParser::readString'

Method was parsing chars as if they were numbers (i.e 'a' -> "97")

Replaced 'JsonParser::enterCollection'

06 Apr 17:32
Compare
Choose a tag to compare
Replaced 'JsonParser::enterCollection' with '::enterArr' and '::enterObj'

Fixed bug in 'JsonParser::readString' and '::skipString'

04 Apr 16:08
Compare
Choose a tag to compare
When the methods were checking for the opening '"' of the String, they didn't peek, but read!!! the Stream

Simplified usage of 'JsonParser::next'

04 Apr 09:41
Compare
Choose a tag to compare
'JsonParser::next' doesn't exit current obj/arr anymore

Usage '::next', and methods using it, was not intuitive and confusing. Change has only  minimal impact on performance

Changed return type of 'JsonParser::nextKey' to bool

03 Apr 16:51
Compare
Choose a tag to compare
Instead of returning the key, the method stores it in a buffer and indicates if a key exists. Previously it was impossible to know if the method failed ( because "" is a valid Json key)

JsonParser::strcmp

02 Apr 11:51
Compare
Choose a tag to compare
Added 'JsonParser::strcmp'

Split 'JsonParser.cpp' into 'JsonParserImpl.cpp' and 'JsonParserNav.cpp'

UTF-8 support

01 Apr 11:08
Compare
Choose a tag to compare

Added UTF-8 support