[#nlohmann-basic_json-05-from_msgpack-029] = xref:nlohmann.adoc[nlohmann]::xref:nlohmann/basic_json-05.adoc[basic_json<>]::from_msgpack :relfileprefix: ../../ :mrdocs: == Synopsis Declared in `<nlohmann/json.hpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[nodiscard, deprecated]] static xref:nlohmann/basic_json-00.adoc[basic_json<>] from_msgpack( detail::span_input_adapter&& i, bool const strict = true, bool const allow_exceptions = true); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]: Since 3.8.0; use from_msgpack(ptr, ptr + len). Use of this entity is allowed but discouraged. ==== == Return Value [NOTE] ==== The return value https://en.cppreference.com/cpp/language/attributes/nodiscard[should not be discarded^]. ==== [.small]#Created with https://www.mrdocs.com[MrDocs]#