76 #ifndef JSON_FORWARD_AMALGATED_H_INCLUDED
77 # define JSON_FORWARD_AMALGATED_H_INCLUDED
78 #define JSON_IS_AMALGAMATION
91 #ifndef JSON_CONFIG_H_INCLUDED
92 #define JSON_CONFIG_H_INCLUDED
106 #ifndef JSON_USE_EXCEPTION
107 #define JSON_USE_EXCEPTION 1
116 #include <cpptl/config.h>
117 #ifndef JSON_USE_CPPTL
118 #define JSON_USE_CPPTL 1
123 #define JSON_API CPPTL_API
124 #elif defined(JSON_DLL_BUILD)
125 #if defined(_MSC_VER)
126 #define JSON_API __declspec(dllexport)
127 #define JSONCPP_DISABLE_DLL_INTERFACE_WARNING
128 #endif // if defined(_MSC_VER)
129 #elif defined(JSON_DLL)
130 #if defined(_MSC_VER)
131 #define JSON_API __declspec(dllimport)
132 #define JSONCPP_DISABLE_DLL_INTERFACE_WARNING
133 #endif // if defined(_MSC_VER)
134 #endif // ifdef JSON_IN_CPPTL
135 #if !defined(JSON_API)
144 #if defined(_MSC_VER) && _MSC_VER <= 1200 // MSVC 6
147 #define JSON_USE_INT64_DOUBLE_CONVERSION 1
152 #pragma warning(disable : 4786)
153 #endif // if defined(_MSC_VER) && _MSC_VER < 1200 // MSVC 6
155 #if defined(_MSC_VER) && _MSC_VER >= 1500 // MSVC 2008
156 #define JSONCPP_DEPRECATED(message) __declspec(deprecated(message))
158 #elif defined(__clang__) && defined(__has_feature)
159 #if __has_feature(attribute_deprecated_with_message)
160 #define JSONCPP_DEPRECATED(message) __attribute__ ((deprecated(message)))
162 #elif defined(__GNUC__) && (__GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5))
163 #define JSONCPP_DEPRECATED(message) __attribute__ ((deprecated(message)))
164 #elif defined(__GNUC__) && (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 1))
165 #define JSONCPP_DEPRECATED(message) __attribute__((__deprecated__))
168 #if !defined(JSONCPP_DEPRECATED)
169 #define JSONCPP_DEPRECATED(message)
170 #endif // if !defined(JSONCPP_DEPRECATED)
175 #if defined(JSON_NO_INT64)
178 #undef JSON_HAS_INT64
179 #else // if defined(JSON_NO_INT64)
181 #if defined(_MSC_VER) // Microsoft Visual Studio
182 typedef __int64
Int64;
183 typedef unsigned __int64
UInt64;
184 #else // if defined(_MSC_VER) // Other platforms, use long long
187 #endif // if defined(_MSC_VER)
190 #define JSON_HAS_INT64
191 #endif // if defined(JSON_NO_INT64)
194 #endif // JSON_CONFIG_H_INCLUDED
214 #ifndef JSON_FORWARDS_H_INCLUDED
215 #define JSON_FORWARDS_H_INCLUDED
217 #if !defined(JSON_IS_AMALGAMATION)
219 #endif // if !defined(JSON_IS_AMALGAMATION)
245 #endif // JSON_FORWARDS_H_INCLUDED
255 #endif //ifndef JSON_FORWARD_AMALGATED_H_INCLUDED
Experimental and untested: represents an element of the "path" to access a node.
Lightweight wrapper to tag static string.
Configuration passed to reader and writer. This configuration object can be used to force the Reader ...
base class for Value iterators.
unsigned long long int UInt64
Iterator for object and array value.
Experimental and untested: represents a "path" to access a node.
const iterator for object and array value.