Encode the JSON representation of the char array value.
Synopsis
Declared in <baljsn_encodeimplutil.h>
static
int
encodeCharArray(
FORMATTER* formatter,
bsl::vector<char> const& value,
EncoderOptions const& options);
Description
Encode the JSON representation of the specified value to the specified JSON formatter. Use the specified options to configure aspects of the JSON representation of the value. Return 0 on success, and a non‐zero value otherwise.
Return Value
0 on success, and a non‐zero value otherwise
Parameters
Name |
Description |
formatter |
JSON formatter that receives the encoded tokens |
value |
|
options |
encoding options |
Created with MrDocs