[#BloombergLP-baljsn-EncodeImplUtil] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baljsn.adoc[baljsn]::EncodeImplUtil :relfileprefix: ../../ :mrdocs: This component‐private utility `struct` provides a suite of functions that encode `bdlat` types in the JSON format. == Synopsis Declared in `<baljsn_encodeimplutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- template<class FORMATTER> struct EncodeImplUtil; ---- == Type Aliases [cols="1,4"] |=== | Name| Description | xref:BloombergLP/baljsn/EncodeImplUtil/FormattingMode.adoc[`FormattingMode`] | Alias for an `int`‐valued `bdlat_FormattingMode` bit‐field. | xref:BloombergLP/baljsn/EncodeImplUtil/ThisUtil.adoc[`ThisUtil`] | `ThisUtil` is a convenience alias for this utility `struct`. |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/baljsn/EncodeImplUtil/closeDocument.adoc[`closeDocument`] | Print the characters that end a JSON document to `outputStream`. | xref:BloombergLP/baljsn/EncodeImplUtil/encode-0a.adoc[`encode`] | `encode` overloads | xref:BloombergLP/baljsn/EncodeImplUtil/encodeCharArray.adoc[`encodeCharArray`] | Encode the JSON representation of the `char` array `value`. | xref:BloombergLP/baljsn/EncodeImplUtil/encodeEmptyArray.adoc[`encodeEmptyArray`] | Encode the representation of the empty‐array JSON value to the specified `formatter`. | xref:BloombergLP/baljsn/EncodeImplUtil/encodeMember-04.adoc[`encodeMember`] | `encodeMember` overloads | xref:BloombergLP/baljsn/EncodeImplUtil/encodeMemberPrefix-03.adoc[`encodeMemberPrefix`] | `encodeMemberPrefix` overloads | xref:BloombergLP/baljsn/EncodeImplUtil/encodeNonEmptyArray.adoc[`encodeNonEmptyArray`] | Encode the JSON representation of the non‐empty array `value`. | xref:BloombergLP/baljsn/EncodeImplUtil/encodeObjectPrefix.adoc[`encodeObjectPrefix`] | Encode a JSON object‐open token when `formattingMode` is tagged. | xref:BloombergLP/baljsn/EncodeImplUtil/encodeObjectSuffix.adoc[`encodeObjectSuffix`] | Encode a JSON object‐close token when `formattingMode` is tagged. | xref:BloombergLP/baljsn/EncodeImplUtil/encodeSimpleValue.adoc[`encodeSimpleValue`] | Encode the JSON representation of the simple `value`. | xref:BloombergLP/baljsn/EncodeImplUtil/openDocument.adoc[`openDocument`] | Print the characters that start a JSON document to `outputStream`. | xref:BloombergLP/baljsn/EncodeImplUtil/validate-0f.adoc[`validate`] | `validate` overloads | xref:BloombergLP/baljsn/EncodeImplUtil/validateChoice.adoc[`validateChoice`] | Determine whether the choice `value` has a defined selection. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#