The json spirit code used by bitcoin performs horribly because it uses a

very generic parser (and it has been a huge problem for bitcoin). This is a
much saner JSON library. The sooner we switch, the less pain.
This commit is contained in:
JoelKatz
2011-12-17 13:29:43 -08:00
parent 0b8aaf691f
commit 1460069dc7
30 changed files with 6497 additions and 1973 deletions

19
json/autolink.h Normal file
View File

@@ -0,0 +1,19 @@
#ifndef JSON_AUTOLINK_H_INCLUDED
# define JSON_AUTOLINK_H_INCLUDED
# include "config.h"
# ifdef JSON_IN_CPPTL
# include <cpptl/cpptl_autolink.h>
# endif
# if !defined(JSON_NO_AUTOLINK) && !defined(JSON_DLL_BUILD) && !defined(JSON_IN_CPPTL)
# define CPPTL_AUTOLINK_NAME "json"
# undef CPPTL_AUTOLINK_DLL
# ifdef JSON_DLL
# define CPPTL_AUTOLINK_DLL
# endif
# include "autolink.h"
# endif
#endif // JSON_AUTOLINK_H_INCLUDED