Clean up JSON code:

* Remove obsolete files
* Remove obsolete preprocessor configuration tags and decorations
* Remove arcane functionality (YAML compatibility, comment support)
* Enforce strict mode (single root)
* Improve parsing of numerical types
* Misc. cleanups
This commit is contained in:
Nik Bougalis
2014-09-29 12:45:42 -07:00
committed by Tom Ritchford
parent 6d91d02c62
commit 558c6b621b
21 changed files with 100 additions and 3167 deletions

View File

@@ -27,12 +27,6 @@
// For json/
//
#ifdef JSON_USE_CPPTL
#include <cpptl/conststring.h>
#endif
#ifndef JSON_USE_SIMPLE_INTERNAL_ALLOCATOR
#include <ripple/json/impl/json_batchallocator.h>
#endif
#define JSON_ASSERT_UNREACHABLE assert( false )
#define JSON_ASSERT( condition ) assert( condition ); // @todo <= change this into an exception throw