|
static bool | TryFromU8String (std::string_view p_Str, U16Document &p_Document, std::u16string *p_Error=nullptr) |
| Try parse from utf8 string.
|
|
static bool | TryFromU8Stream (std::ifstream &p_Stream, U16Document &p_Document, std::u16string *p_Error=nullptr) |
| Try parse from utf8 string.
|
|
static bool | TryFromU16String (std::u16string_view p_Str, U16Document &p_Document, std::u16string *p_Error=nullptr) |
| Try parse from utf8 string.
|
|
static std::string | ToU8String (U16Value &p_Value, bool p_Pretty) |
| Encode to utf8 string.
|
|
static bool | TryToU8Stream (U16Value &p_Value, bool p_Pretty, std::ofstream &p_Stream) |
| Encode to utf8 string.
|
|
static std::u16string | ToU16String (U16Value &p_Value, bool p_Pretty) |
| Encode to utf16 string.
|
|
static void | SerializeBool (U16Value &p_Document, TAllocator &p_Allocator, bool p_Value, const char16_t *p_Name) |
|
static void | SerializeColor32 (U16Value &p_Document, TAllocator &p_Allocator, UnityEngine::Color32 p_Value, const char16_t *p_Name) |
|
static void | SerializeColor (U16Value &p_Document, TAllocator &p_Allocator, UnityEngine::Color p_Value, const char16_t *p_Name) |
|
static void | SerializeFloat (U16Value &p_Document, TAllocator &p_Allocator, float p_Value, const char16_t *p_Name) |
|
static void | SerializeInt32 (U16Value &p_Document, TAllocator &p_Allocator, int32_t p_Value, const char16_t *p_Name) |
|
static void | SerializeInt64 (U16Value &p_Document, TAllocator &p_Allocator, int64_t p_Value, const char16_t *p_Name) |
|
static void | SerializeQuaternion (U16Value &p_Document, TAllocator &p_Allocator, UnityEngine::Quaternion p_Value, const char16_t *p_Name) |
|
static void | SerializeString (U16Value &p_Document, TAllocator &p_Allocator, const std::u16string &p_Value, const char16_t *p_Name) |
|
static void | SerializeUInt32 (U16Value &p_Document, TAllocator &p_Allocator, uint32_t p_Value, const char16_t *p_Name) |
|
static void | SerializeUInt64 (U16Value &p_Document, TAllocator &p_Allocator, uint64_t p_Value, const char16_t *p_Name) |
|
static void | SerializeVector2 (U16Value &p_Document, TAllocator &p_Allocator, UnityEngine::Vector2 p_Value, const char16_t *p_Name) |
|
static void | SerializeVector3 (U16Value &p_Document, TAllocator &p_Allocator, UnityEngine::Vector3 p_Value, const char16_t *p_Name) |
|
template<typename t_Enum > |
static void | SerializeEnum (U16Value &p_Document, TAllocator &p_Allocator, typename t_Enum::E p_Value, const char16_t *p_Name) |
|
template<typename t_Object > |
static void | SerializeObject (U16Value &p_Document, TAllocator &p_Allocator, std::shared_ptr< t_Object > &p_Object, const char16_t *p_Name) |
|
template<typename t_Object >
requires (!std::is_pointer_v<t_Object>) |
static void | SerializeObject (U16Value &p_Document, TAllocator &p_Allocator, std::optional< t_Object > &p_Object, const char16_t *p_Name) |
|
template<typename t_Object > |
static void | SerializeObjectArray (U16Value &p_Document, TAllocator &p_Allocator, std::vector< std::shared_ptr< t_Object > > &p_Array, const char16_t *p_Name) |
|
static void | UnserializeBool (U16Value &p_Document, bool &p_Value, const char16_t *p_Name) |
|
static void | UnserializeColor32 (U16Value &p_Document, UnityEngine::Color32 &p_Value, const char16_t *p_Name) |
|
static void | UnserializeColor (U16Value &p_Document, UnityEngine::Color &p_Value, const char16_t *p_Name) |
|
static void | UnserializeFloat (U16Value &p_Document, float &p_Value, const char16_t *p_Name) |
|
static void | UnserializeInt32 (U16Value &p_Document, int32_t &p_Value, const char16_t *p_Name) |
|
static void | UnserializeInt64 (U16Value &p_Document, int64_t &p_Value, const char16_t *p_Name) |
|
static void | UnserializeQuaternion (U16Value &p_Document, UnityEngine::Quaternion &p_Value, const char16_t *p_Name) |
|
static void | UnserializeString (U16Value &p_Document, std::u16string &p_Value, const char16_t *p_Name) |
|
static void | UnserializeUInt32 (U16Value &p_Document, uint32_t &p_Value, const char16_t *p_Name) |
|
static void | UnserializeUInt64 (U16Value &p_Document, uint64_t &p_Value, const char16_t *p_Name) |
|
static void | UnserializeVector2 (U16Value &p_Document, UnityEngine::Vector2 &p_Value, const char16_t *p_Name) |
|
static void | UnserializeVector3 (U16Value &p_Document, UnityEngine::Vector3 &p_Value, const char16_t *p_Name) |
|
template<typename t_Enum > |
static void | UnserializeEnum (U16Value &p_Document, typename t_Enum::E &p_Value, const char16_t *p_Name, typename t_Enum::E p_Default) |
|
template<typename t_Object > |
static void | UnserializeObject (U16Value &p_Document, std::shared_ptr< t_Object > &p_Object, const char16_t *p_Name) |
|
template<typename t_Object >
requires (!std::is_pointer_v<t_Object>) |
static void | UnserializeObject (U16Value &p_Document, std::optional< t_Object > &p_Object, const char16_t *p_Name) |
|
template<typename t_Object > |
static void | UnserializeObjectArray (U16Value &p_Document, std::vector< std::shared_ptr< t_Object > > &p_Array, const char16_t *p_Name) |
|
Json utils.
Definition at line 67 of file Json.hpp.