interactive-matter/aJson — Issue #14: bug on printing added null object
Author: interactive-matter
Created: 2011-10-17 11:09:49+00:00
State: open

In aJSON.cpp (line 582) the null object is printed with a fprinf i.s.o. fprintf_P, resulting in the wrong out in the aJson.print().

Kind regards.

-- corrected code ---
switch (item->type)
{
case aJson_NULL:
result = fprintf_P(stream, PSTR("null"));
break;