Discuss this help topic in SecureBlackbox Forum
Creates a string, a buffer or a stream from the entity.
Declaration
Parameters
Description
(1) Assembles Entity to a string without formatting;
Entity must be of type either TElJsonArray or TElJsonObject.
(2) Assembles Entity to a string with formatting;
IndentChar specifies a character to be used for JSON-text indentation,
it should be either tab (#9) or space (#32);
CharsePerIndentLevel specifies how many characters are added at the
beginning of a line on each next indentation level.
(3) Assembles Entity without formatting to
Buffer starting from StartIndex.
If there is not enough room in the buffer, it will be resized.
The routine returns the number of bytes written to Buffer.
UTF-8 encoding is used to translate Unicode characters to bytes.
(4) Assembles Entity with formatting to
Buffer starting from StartIndex.
IndentChar specifies a character to be used for JSON-text indentation,
it should be either tab (#9) or space (#32);
CharsePerIndentLevel specifies how many characters are added at the
beginning of a line on each next indentation level.
If there is not enough room in the buffer, it will be resized.
The routine returns the number of bytes written to Buffer.
UTF-8 encoding is used to convert Unicode characters to bytes.
(5) Assembles Entity to Stream without formatting.
Returns the number of bytes written to the stream.
UTF-8 encoding is used to translate Unicode characters to bytes.
(6) Assembles Entity with formatting to Stream.
IndentChar specifies a character to be used for JSON-text indentation,
it should be either tab (#9) or space (#32);
CharsePerIndentLevel specifies how many characters are added at the
beginning of a line on each next indentation level.
The routine returns the number of bytes written to Stream.
UTF-8 encoding is used to convert Unicode characters to bytes.