json_spirit_writer.h 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. // ECOin - Copyright (c) - 2014/2021 - GPLv3 - epsylon@riseup.net (https://03c8.net)
  2. #ifndef JSON_SPIRIT_WRITER
  3. #define JSON_SPIRIT_WRITER
  4. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  5. # pragma once
  6. #endif
  7. #include "json_spirit_value.h"
  8. #include <iostream>
  9. namespace json_spirit
  10. {
  11. void write ( const Value& value, std::ostream& os );
  12. void write_formatted( const Value& value, std::ostream& os );
  13. std::string write ( const Value& value );
  14. std::string write_formatted( const Value& value );
  15. #ifndef BOOST_NO_STD_WSTRING
  16. void write ( const wValue& value, std::wostream& os );
  17. void write_formatted( const wValue& value, std::wostream& os );
  18. std::wstring write ( const wValue& value );
  19. std::wstring write_formatted( const wValue& value );
  20. #endif
  21. void write ( const mValue& value, std::ostream& os );
  22. void write_formatted( const mValue& value, std::ostream& os );
  23. std::string write ( const mValue& value );
  24. std::string write_formatted( const mValue& value );
  25. #ifndef BOOST_NO_STD_WSTRING
  26. void write ( const wmValue& value, std::wostream& os );
  27. void write_formatted( const wmValue& value, std::wostream& os );
  28. std::wstring write ( const wmValue& value );
  29. std::wstring write_formatted( const wmValue& value );
  30. #endif
  31. }
  32. #endif