mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
63 lines
1.7 KiB
C++
63 lines
1.7 KiB
C++
//------------------------------------------------------------------------------
|
|
/*
|
|
Copyright (c) 2011-2013, OpenCoin, Inc.
|
|
|
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
purpose with or without fee is hereby granted, provided that the above
|
|
copyright notice and this permission notice appear in all copies.
|
|
|
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
//==============================================================================
|
|
|
|
/** Include this to get the @ref ripple_json module.
|
|
|
|
@file ripple_json.h
|
|
@ingroup ripple_json
|
|
*/
|
|
|
|
/** JSON parsiing and output support.
|
|
|
|
A simple set of JSON manipulation classes.
|
|
|
|
@defgroup ripple_json
|
|
*/
|
|
|
|
#ifndef RIPPLE_JSON_H
|
|
#define RIPPLE_JSON_H
|
|
|
|
// VFALCO: TODO Remove unneeded includes
|
|
#include <cassert>
|
|
#include <cstring>
|
|
#include <cstdlib>
|
|
#include <deque>
|
|
#include <iostream>
|
|
#include <stack>
|
|
#include <vector>
|
|
|
|
// Needed before these cpptl includes
|
|
#include "json/json_config.h"
|
|
|
|
#ifndef JSON_USE_CPPTL_SMALLMAP
|
|
# include <map>
|
|
#else
|
|
# include <cpptl/smallmap.h>
|
|
#endif
|
|
#ifdef JSON_USE_CPPTL
|
|
# include <cpptl/forwards.h>
|
|
#endif
|
|
|
|
#include "json/json_forwards.h"
|
|
#include "json/json_features.h"
|
|
#include "json/json_value.h"
|
|
#include "json/json_reader.h"
|
|
#include "json/json_writer.h"
|
|
|
|
#endif
|