-
+ EC290CDE506F90BB24592F3439DBE87602665A63ED44C558C172ACCDD294059319D656A346F6BA68C8CBE90FB8B75158AD59A41EF2A690B18C018DAEC62ABDC0bitcoin/src/json/json_spirit_writer.h(0 . 0)(1 . 50)
8263 #ifndef JSON_SPIRIT_WRITER
8264 #define JSON_SPIRIT_WRITER
8265
8266 // Copyright John W. Wilkinson 2007 - 2009.
8267 // Distributed under the MIT License, see accompanying file LICENSE.txt
8268
8269 // json spirit version 4.03
8270
8271 #if defined(_MSC_VER) && (_MSC_VER >= 1020)
8272 # pragma once
8273 #endif
8274
8275 #include "json_spirit_value.h"
8276 #include <iostream>
8277
8278 namespace json_spirit
8279 {
8280 // functions to convert JSON Values to text,
8281 // the "formatted" versions add whitespace to format the output nicely
8282
8283 void write ( const Value& value, std::ostream& os );
8284 void write_formatted( const Value& value, std::ostream& os );
8285 std::string write ( const Value& value );
8286 std::string write_formatted( const Value& value );
8287
8288 #ifndef BOOST_NO_STD_WSTRING
8289
8290 void write ( const wValue& value, std::wostream& os );
8291 void write_formatted( const wValue& value, std::wostream& os );
8292 std::wstring write ( const wValue& value );
8293 std::wstring write_formatted( const wValue& value );
8294
8295 #endif
8296
8297 void write ( const mValue& value, std::ostream& os );
8298 void write_formatted( const mValue& value, std::ostream& os );
8299 std::string write ( const mValue& value );
8300 std::string write_formatted( const mValue& value );
8301
8302 #ifndef BOOST_NO_STD_WSTRING
8303
8304 void write ( const wmValue& value, std::wostream& os );
8305 void write_formatted( const wmValue& value, std::wostream& os );
8306 std::wstring write ( const wmValue& value );
8307 std::wstring write_formatted( const wmValue& value );
8308
8309 #endif
8310 }
8311
8312 #endif