blob: 8c8d576cfa7bf28f5a08b7e32d606b2b4830f6e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#pragma once
#include <rapidjson/document.h>
#include <rapidjson/error/en.h>
#include <string>
namespace mbgl {
using JSDocument = rapidjson::GenericDocument<rapidjson::UTF8<>, rapidjson::CrtAllocator>;
using JSValue = rapidjson::GenericValue<rapidjson::UTF8<>, rapidjson::CrtAllocator>;
std::string formatJSONParseError(const std::string&, const JSDocument&);
} // namespace mbgl
|