1#ifndef XRPL_JSON_OUTPUT_H_INCLUDED
2#define XRPL_JSON_OUTPUT_H_INCLUDED
4#include <boost/beast/core/string.hpp>
18 return [&](boost::beast::string_view
const& b) {
19 s.
append(b.data(), b.size());
JSON (JavaScript Object Notation).
Output stringOutput(std::string &s)
std::string jsonAsString(Json::Value const &)
Return the minimal string representation of a Json::Value in O(n) time.
std::function< void(boost::beast::string_view const &)> Output
void outputJson(Json::Value const &, Output const &)
Writes a minimal representation of a Json value to an Output in O(n) time.