JsonCpp project page Classes Namespace JsonCpp home page

Namespaces | Macros | Typedefs | Functions
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"

Go to the source code of this file.

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

#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.

Definition at line 50 of file config.h.

#define JSON_HAS_INT64

Definition at line 125 of file config.h.

#define JSON_USE_EXCEPTION   1

Definition at line 20 of file config.h.

#define JSON_USE_NULLREF   1

Definition at line 25 of file config.h.

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

Definition at line 89 of file config.h.

#define JSONCPP_OVERRIDE   override

Definition at line 75 of file config.h.

#define jsoncpp_snprintf   msvc_pre1900_c99_snprintf

Definition at line 63 of file config.h.

Typedef Documentation

Definition at line 147 of file config.h.

Definition at line 145 of file config.h.

Definition at line 148 of file config.h.

Definition at line 146 of file config.h.

Definition at line 144 of file config.h.

Function Documentation

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

Definition at line 33 of file json_value.cpp.

References msvc_pre1900_c99_vsnprintf().