Components providing JSON parsing and generation facilities.

Types

Name

Description

Error

This unconstrained (value‐semantic) attribute class specifies a description of an error in processing a (JSON) document.

Json

This type is designed to be a thin wrapper around a variant of the possible JSON types, using a BDE‐style variant interface.

JsonArray

JSON array value providing a sequence‐container‐like interface.

JsonNull

This type represents the JSON null value. There is only 1 value of this type, so all objects compare equal, hash to the same value, etc.

JsonNumber

This class defines a value‐semantic type that represents a JSON number.

JsonObject

JSON object value providing an associative‐container‐like interface.

JsonObject_MemberInitializer

Component‐private helper that captures key/value pairs for object list‐initialization.

JsonTestSuiteUtil

This utility struct provides a namespace for the test points of the JSON Test Suite.

JsonType

This struct provides a namespace for enumerating the set value types of the JSON language. See Enum in the TYPES sub‐section for details.

JsonUtil

This struct provides a namespace for utility functions that provide read and write operations to/from Json objects.

Json_ConstructVisitor

This component‐private class is used to construct a Json object from a Json_Initializer object. Json_Initializer is a variant class defined below.

Json_Initializer

Component‐private helper that captures values for JSON list‐initialization.

Json_StringInvariantGuard

This is a component‐private guard class.

Json_VisitUtil

Component‐private utility providing helpers for Json::visit.

Location

This unconstrained (value‐semantic) attribute class specifies a location in a (JSON) document.

NumberUtil

Namespace for utilities converting between JSON number text and numeric types.

NumberUtil_IsSigned

Metafunction yielding whether integral t_TYPE is signed.

ReadOptions

Options for reading a JSON document.

StringUtil

This struct provides utility functions for converting between UTF‐8 sequences and JSON strings.

Tokenizer

Mechanism for traversing JSON data one node at a time.

WriteOptions

Options for writing a JSON document.

WriteStyle

Namespace for formatting styles used when writing a JSON document.

Functions

Name

Description

hashAppend

hashAppend overloads

operator""_json

Return a bdljsn::Json object from the specified JSON literal text.

swap

swap overloads

operator<<

Stream insertion operators

operator==

Equality operators

operator!=

Inequality operators

Variables

Name

Description

jsonNull

The singular value of the JsonNull type.

Created with MrDocs