| 
    rippled
    
   | 
 
Decorator for streaming out compact json. More...
#include <json_writer.h>

Public Member Functions | |
| Compact (Json::Value &&jv) | |
| Wrap a Json::Value for compact streaming.   | |
Private Attributes | |
| Json::Value | jv_ | 
Friends | |
| std::ostream & | operator<< (std::ostream &o, Compact const &cJv) | 
Decorator for streaming out compact json.
Use
Json::Value jv;
out << Json::Compact{jv}
 to write a single-line, compact version of jv to the stream, rather than the styled format that comes from undecorated streaming. 
Definition at line 298 of file json_writer.h.
| Json::Compact::Compact | ( | Json::Value && | jv | ) | 
Wrap a Json::Value for compact streaming.
| jv | The Json::Value to stream | 
Definition at line 311 of file json_writer.h.
      
  | 
  friend | 
Definition at line 315 of file json_writer.h.
      
  | 
  private | 
Definition at line 300 of file json_writer.h.