|
NeoGraph 0.10.0
A C++17 Graph Agent Engine Library — LangGraph for C++
|
Thin C++ RAII wrapper around yyjson with nlohmann-compatible API. More...
#include <neograph/api.h>#include <yyjson.h>#include <cstdint>#include <initializer_list>#include <iosfwd>#include <ostream>#include <map>#include <memory>#include <stdexcept>#include <string>#include <string_view>#include <type_traits>#include <utility>#include <vector>Go to the source code of this file.
Thin C++ RAII wrapper around yyjson with nlohmann-compatible API.
Replaces nlohmann/json in NeoGraph. Uses yyjson (C) for parsing and serialization while preserving value semantics and a subset of the nlohmann API that NeoGraph actually uses:
Value semantics: copy constructor performs a deep copy. operator[] returns a json handle that shares the underlying yyjson document, allowing write- through via rvalue operator= (the j["key"] = value pattern).
Definition in file json.h.