genesis 1
genesis 2
genesis 3
genesis 4
genesis 5
genesis 6 #include "json_spirit_writer.h"
genesis 7 #include "json_spirit_writer_template.h"
genesis 8
genesis 9 void json_spirit::write( const Value& value, std::ostream& os )
genesis 10 {
genesis 11 write_stream( value, os, false );
genesis 12 }
genesis 13
genesis 14 void json_spirit::write_formatted( const Value& value, std::ostream& os )
genesis 15 {
genesis 16 write_stream( value, os, true );
genesis 17 }
genesis 18
genesis 19 std::string json_spirit::write( const Value& value )
genesis 20 {
genesis 21 return write_string( value, false );
genesis 22 }
genesis 23
genesis 24 std::string json_spirit::write_formatted( const Value& value )
genesis 25 {
genesis 26 return write_string( value, true );
genesis 27 }
genesis 28
genesis 29 #ifndef BOOST_NO_STD_WSTRING
genesis 30
genesis 31 void json_spirit::write( const wValue& value, std::wostream& os )
genesis 32 {
genesis 33 write_stream( value, os, false );
genesis 34 }
genesis 35
genesis 36 void json_spirit::write_formatted( const wValue& value, std::wostream& os )
genesis 37 {
genesis 38 write_stream( value, os, true );
genesis 39 }
genesis 40
genesis 41 std::wstring json_spirit::write( const wValue& value )
genesis 42 {
genesis 43 return write_string( value, false );
genesis 44 }
genesis 45
genesis 46 std::wstring json_spirit::write_formatted( const wValue& value )
genesis 47 {
genesis 48 return write_string( value, true );
genesis 49 }
genesis 50
genesis 51 #endif
genesis 52
genesis 53 void json_spirit::write( const mValue& value, std::ostream& os )
genesis 54 {
genesis 55 write_stream( value, os, false );
genesis 56 }
genesis 57
genesis 58 void json_spirit::write_formatted( const mValue& value, std::ostream& os )
genesis 59 {
genesis 60 write_stream( value, os, true );
genesis 61 }
genesis 62
genesis 63 std::string json_spirit::write( const mValue& value )
genesis 64 {
genesis 65 return write_string( value, false );
genesis 66 }
genesis 67
genesis 68 std::string json_spirit::write_formatted( const mValue& value )
genesis 69 {
genesis 70 return write_string( value, true );
genesis 71 }
genesis 72
genesis 73 #ifndef BOOST_NO_STD_WSTRING
genesis 74
genesis 75 void json_spirit::write( const wmValue& value, std::wostream& os )
genesis 76 {
genesis 77 write_stream( value, os, false );
genesis 78 }
genesis 79
genesis 80 void json_spirit::write_formatted( const wmValue& value, std::wostream& os )
genesis 81 {
genesis 82 write_stream( value, os, true );
genesis 83 }
genesis 84
genesis 85 std::wstring json_spirit::write( const wmValue& value )
genesis 86 {
genesis 87 return write_string( value, false );
genesis 88 }
genesis 89
genesis 90 std::wstring json_spirit::write_formatted( const wmValue& value )
genesis 91 {
genesis 92 return write_string( value, true );
genesis 93 }
genesis 94
genesis 95 #endif