3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/deps/json/ValueType.h"
7#include "mc/resources/PackParseErrorType.h"
12namespace Json {
class Value; }
15namespace JsonPackUtils {
18MCNAPI ::std::pair<::Json::Value const, ::PackParseErrorType>
19readRequiredValue(
::Json::Value const& value, ::std::string
const& propertyName, ::Json::ValueType type);
21MCNAPI ::std::string readStringAndReport(
23 ::std::string
const& element,
24 ::std::vector<::std::string>& errorPath,
29MCNAPI ::std::vector<::std::string> readStringArrayAndReport(
31 ::std::string
const& element,
32 ::std::vector<::std::string>& errorPath,
37MCNAPI ::std::pair<::Json::Value const*, ::PackParseErrorType>
38readValue(
::Json::Value const& value, ::std::string
const& propertyName);
40MCNAPI ::std::pair<::Json::Value const, ::PackParseErrorType> readValueAndReportErrors(
42 ::std::string
const& element,
43 ::Json::ValueType type,
44 ::std::vector<::std::string>& errorPath,
49MCNAPI ::std::string stringizePath(::std::vector<::std::string>
const& pathElements);
Definition PackReport.h:16