mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-22 08:02:06 +02:00
GH #119: JSON::Object holds values in ordered map
- fixed GH #119: JSON::Object holds values in ordered map - added PrintHandler - renamed DefaultHandler to ParseHandler - redefined DefaultHandler as typedef to ParseHandler
This commit is contained in:
@@ -34,7 +34,7 @@
|
||||
|
||||
#include "Poco/Timestamp.h"
|
||||
#include "Poco/JSON/Parser.h"
|
||||
#include "Poco/JSON/DefaultHandler.h"
|
||||
#include "Poco/JSON/ParseHandler.h"
|
||||
#include "Poco/JSON/JSONException.h"
|
||||
#include "Poco/Environment.h"
|
||||
#include "Poco/Path.h"
|
||||
@@ -82,7 +82,7 @@ int main(int argc, char** argv)
|
||||
|
||||
try
|
||||
{
|
||||
Poco::JSON::DefaultHandler handler;
|
||||
Poco::JSON::ParseHandler handler;
|
||||
Poco::JSON::Parser parser;
|
||||
parser.setHandler(&handler);
|
||||
Poco::Timestamp time1;
|
||||
|
||||
Reference in New Issue
Block a user