MCPcopy Create free account
hub / github.com/HertzDevil/0CC-FamiTracker / parse_msgpack

Method parse_msgpack

Source/json/json.hpp:4910–4919  ·  view source on GitHub ↗

! @brief create a JSON value from MessagePack input @param[in] strict whether to expect the input to be consumed completed @return JSON value created from MessagePack input @throw parse_error.110 if input ended unexpectedly or the end of file was not reached when @a strict was set to true @throw parse_error.112 if unsupported byte was read

Source from the content-addressed store, hash-verified

4908 @throw parse_error.112 if unsupported byte was read
4909 */
4910 BasicJsonType parse_msgpack(const bool strict)
4911 {
4912 const auto res = parse_msgpack_internal();
4913 if (strict)
4914 {
4915 get();
4916 expect_eof();
4917 }
4918 return res;
4919 }
4920
4921 /*!
4922 @brief create a JSON value from UBJSON input

Callers 1

from_msgpackFunction · 0.80

Calls 1

getFunction · 0.85

Tested by

no test coverage detected