aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/poco/JSON/src/Parser.cpp
blob: c9c64297f7482396b8cf1b7ba5731f8568cd8b4a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// 
// Parser.cpp 
// 
// Library: JSON 
// Package: JSON 
// Module:  Parser 
// 
// Copyright (c) 2012, Applied Informatics Software Engineering GmbH. 
// and Contributors. 
// 
// SPDX-License-Identifier:	BSL-1.0 
// 
 
 
#include "Poco/JSON/Parser.h" 
#include "Poco/JSON/JSONException.h" 
#include "Poco/Ascii.h" 
#include "Poco/Token.h" 
#include "Poco/UTF8Encoding.h" 
#include "Poco/String.h" 
#undef min 
#undef max 
#include <limits> 
#include <clocale> 
#include <istream> 
 
 
namespace Poco { 
namespace JSON { 
 
 
Parser::Parser(const Handler::Ptr& pHandler, std::size_t bufSize): 
	ParserImpl(pHandler, bufSize) 
{ 
} 
 
 
Parser::~Parser() 
{ 
} 
 
 
void Parser::setHandler(const Handler::Ptr& pHandler) 
{ 
	setHandlerImpl(pHandler); 
} 
 
 
} } // namespace Poco::JSON