//------------------------------------------------------------------------------ /* Copyright (c) 2011-2013, OpenCoin, Inc. */ //============================================================================== /** Add this to get the @ref ripple_json module. @file ripple_json.cpp @ingroup ripple_json */ #include "BeastConfig.h" #include "ripple_json.h" #include #include #ifdef JSON_USE_CPPTL # include #endif #ifndef JSON_USE_SIMPLE_INTERNAL_ALLOCATOR #include "json/json_batchallocator.h" #endif #define JSON_ASSERT_UNREACHABLE assert( false ) #define JSON_ASSERT( condition ) assert( condition ); // @todo <= change this into an exception throw #define JSON_ASSERT_MESSAGE( condition, message ) if (!( condition )) throw std::runtime_error( message ); namespace ripple { #include "json/json_reader.cpp" #include "json/json_value.cpp" #include "json/json_writer.cpp" }