JsonCpp project page Classes Namespace JsonCpp home page

config.h File Reference
#include <cstddef>
#include <cstdint>
#include <istream>
#include <memory>
#include <ostream>
#include <sstream>
#include <string>
#include <type_traits>
#include "allocator.h"
#include "version.h"

Namespaces

 Json
 JSON (JavaScript Object Notation).
 

Macros

#define JSON_USE_EXCEPTION   1
 
#define JSON_USE_NULLREF   1
 
#define JSON_API
 If defined, indicates that the source file is amalgamated to prevent private header inclusion. More...
 
#define jsoncpp_snprintf   msvc_pre1900_c99_snprintf
 
#define JSONCPP_OVERRIDE   override
 
#define JSONCPP_DEPRECATED(message)   __declspec(deprecated(message))
 
#define JSON_HAS_INT64
 

Typedefs

using Json::Int = int
 
using Json::UInt = unsigned int
 
using Json::Int64 = __int64
 
using Json::UInt64 = unsigned __int64
 
using Json::LargestInt = Int64
 
using Json::LargestUInt = UInt64
 
template<typename T >
using Json::Allocator = typename std::conditional< 0, SecureAllocator< T >, std::allocator< T > >::type
 
using Json::String = std::basic_string< char, std::char_traits< char >, Allocator< char > >
 
using Json::IStringStream = std::basic_istringstream< String::value_type, String::traits_type, String::allocator_type >
 
using Json::OStringStream = std::basic_ostringstream< String::value_type, String::traits_type, String::allocator_type >
 
using Json::IStream = std::istream
 
using Json::OStream = std::ostream
 
using JSONCPP_STRING = Json::String
 
using JSONCPP_ISTRINGSTREAM = Json::IStringStream
 
using JSONCPP_OSTRINGSTREAM = Json::OStringStream
 
using JSONCPP_ISTREAM = Json::IStream
 
using JSONCPP_OSTREAM = Json::OStream
 

Functions

int msvc_pre1900_c99_snprintf (char *outBuf, size_t size, const char *format,...)
 

Macro Definition Documentation

◆ JSON_API

#define JSON_API

If defined, indicates that the source file is amalgamated to prevent private header inclusion.

Remarks: it is automatically defined in the generated amalgamated header.

◆ JSON_HAS_INT64

#define JSON_HAS_INT64

◆ JSON_USE_EXCEPTION

#define JSON_USE_EXCEPTION   1

◆ JSON_USE_NULLREF

#define JSON_USE_NULLREF   1

◆ JSONCPP_DEPRECATED

#define JSONCPP_DEPRECATED (   message)    __declspec(deprecated(message))

◆ JSONCPP_OVERRIDE

#define JSONCPP_OVERRIDE   override

◆ jsoncpp_snprintf

#define jsoncpp_snprintf   msvc_pre1900_c99_snprintf

Typedef Documentation

◆ JSONCPP_ISTREAM

◆ JSONCPP_ISTRINGSTREAM

◆ JSONCPP_OSTREAM

◆ JSONCPP_OSTRINGSTREAM

◆ JSONCPP_STRING

Function Documentation

◆ msvc_pre1900_c99_snprintf()

int msvc_pre1900_c99_snprintf ( char *  outBuf,
size_t  size,
const char *  format,
  ... 
)