Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
JsonUtil.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace Core { class Path; }
8namespace Core { class Result; }
9namespace Json { class Value; }
10// clang-format on
11
12namespace Core::JsonUtil {
13// functions
14// NOLINTBEGIN
15#ifdef LL_PLAT_C
16MCNAPI ::Core::Result deserializeFromFile(::Json::Value& json, ::Core::Path const& path);
17
18MCNAPI bool serializeToFile(::Json::Value const& json, ::Core::Path const& path);
19#endif
20// NOLINTEND
21
22// static variables
23// NOLINTBEGIN
24MCNAPI uint64 const& kMaxJsonDocumentBytes();
25// NOLINTEND
26
27} // namespace Core::JsonUtil
Definition Path.h:10
Definition Result.h:11
Definition Value.h:16