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