This class provides a mechanism for copying the constituent values of certain bdlat‐compatible objects to bdljsn::Json objects, and vice versa.
Synopsis
Declared in <baljsn_jsonconverter.h>
class JsonConverter;
Description
In each case, the resulting object is a different representation of the data in the original. This conversion is analogous to the encoding and decoding operations provided elsewhere in this package; however, the convert methods here avoid the creation of any textual representation of the data.
The bdlat objects must meet the requirements of a sequence, choice, or array as defined in bdlat_sequencefunctions, bdlat_choicefunctions, and bdlat_arrayfunctions components, respectively.
Type Aliases
Name |
Description |
This |
Member Functions
Name |
Description |
|
Constructors |
|
|
Return the allocator used by this object to supply memory. |
|
Return messages logged during the last call to the |
Friends
Name |
Description |
This |
Created with MrDocs