mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
JSON cleanups:
* Fix Json headers to include what they use. * Get rid of ripple/json/api directory.
This commit is contained in:
committed by
Nik Bougalis
parent
7be695c6bd
commit
e889183fc5
@@ -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
|
||||
{
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user