Files
rippled/include/xrpl/json/to_string.h
2025-10-23 11:04:30 -04:00

26 lines
505 B
C++

#ifndef XRPL_JSON_TO_STRING_H_INCLUDED
#define XRPL_JSON_TO_STRING_H_INCLUDED
#include <ostream>
#include <string>
namespace Json {
class Value;
/** Writes a Json::Value to an std::string. */
std::string
to_string(Value const&);
/** Writes a Json::Value to an std::string. */
std::string
pretty(Value const&);
/** Output using the StyledStreamWriter. @see Json::operator>>(). */
std::ostream&
operator<<(std::ostream&, Value const& root);
} // namespace Json
#endif // JSON_TO_STRING_H_INCLUDED