JSON cleanups:

* Fix Json headers to include what they use.
* Get rid of ripple/json/api directory.
This commit is contained in:
Tom Ritchford
2014-08-12 12:41:42 -04:00
committed by Nik Bougalis
parent 7be695c6bd
commit e889183fc5
10 changed files with 194 additions and 187 deletions

View File

@@ -20,6 +20,13 @@
#ifndef CPPTL_JSON_READER_H_INCLUDED
# define CPPTL_JSON_READER_H_INCLUDED
#include <ripple/json/json_config.h>
#include <ripple/json/json_features.h>
#include <ripple/json/json_forwards.h>
#include <ripple/json/json_value.h>
#include <stack>
namespace Json
{

View File

@@ -20,6 +20,9 @@
#ifndef CPPTL_JSON_H_INCLUDED
#define CPPTL_JSON_H_INCLUDED
#include <ripple/json/json_config.h>
#include <ripple/json/json_forwards.h>
/** \brief JSON (JavaScript Object Notation).
*/
namespace Json

View File

@@ -32,7 +32,7 @@
// For json/
//
// VFALCO TODO Clean up these one-offs
#include <ripple/json/api/json_config.h> // Needed before these cpptl includes
#include <ripple/json/json_config.h> // Needed before these cpptl includes
#ifndef JSON_USE_CPPTL_SMALLMAP
#include <map>
#else
@@ -42,12 +42,12 @@
#include <cpptl/forwards.h>
#endif
#include <ripple/json/api/json_forwards.h>
#include <ripple/json/api/json_features.h>
#include <ripple/json/api/json_value.h>
#include <ripple/json/api/json_reader.h>
#include <ripple/json/api/json_writer.h>
#include <ripple/json/json_forwards.h>
#include <ripple/json/json_features.h>
#include <ripple/json/json_value.h>
#include <ripple/json/json_reader.h>
#include <ripple/json/json_writer.h>
#include <ripple/json/api/JsonPropertyStream.h>
#include <ripple/json/JsonPropertyStream.h>
#endif