Var/JSON changes

- JSON support for Dynamic Struct and Array
- added VarIterator
- modified behavior of empty Var
This commit is contained in:
Aleksandar Fabijanic
2013-05-27 21:00:14 -05:00
parent 1f8fcaacc0
commit 38131d452d
42 changed files with 1878 additions and 308 deletions

View File

@@ -66,6 +66,15 @@ PrintHandler::~PrintHandler()
}
void PrintHandler::reset()
{
_out.flush();
_tab = "";
_array = false;
_value = false;
}
const char* PrintHandler::endLine() const
{
if (!printFlat()) return "\n";
@@ -217,4 +226,6 @@ void PrintHandler::arrayValue()
_out << _tab;
}
}
} } // namespace Poco::JSON