mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
26 lines
505 B
C++
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
|