96 bool good() const noexcept;
101 std::
size_t depth() const noexcept;
130 const
path& current_path() const;
213 std::unique_ptr<impl> _impl;
An encoder is responsible for writing values to some form of output.
Represents an exact path in some JSON structure.
Represents a single JSON value, which can be any one of a potential kind, each behaving slightly diff...
A writer instance writes a JSON ast_node sequence to some form of sink: an encoder,...
writer(std::ostream &to)
Create a writer which writes compact JSON text into to, as to_string does for a value: through an ost...
writer(writer &&) noexcept
Moving a writer transfers its state and its sink, leaving the source moved-from: good is false,...
writer(encoder &to)
Create a writer which writes into to. The encoder must outlive this instance.
Copyright (c) 2014-2020 by Travis Gockel.
Copyright (c) 2012-2020 by Travis Gockel.
#define JSONV_NODISCARD
Warn if the caller discards the result of this function.
#define JSONV_PUBLIC
This function or class is part of the public API for JSON Voorhees.