serializeArray#
Fully qualified name: omni::structuredlog::serializeArray
Defined in omni/structuredlog/JsonTreeSerializer.h
- 
template<bool validate = false, typename T, typename JsonSerializerType = JsonSerializer<validate, false, ignoreJsonTreeSerializerValidationError>, typename JsonNodeType = JsonNode, typename BlobReaderType = BlobReader<validate, ignoreJsonTreeSerializerValidationError>>
static inline bool omni::structuredlog::serializeArray( - JsonSerializerType *serial,
 - const JsonNodeType *root,
 - const T *constVal,
 - BlobReaderType *reader,
 Serialize an array type from a JSON tree.
- Parameters:
 serial – [inout] The JSON serializer to serialize the data into.
root – [in] The node in the schema that represents this scalar value.
constVal – [in] The constant array value from the data union of
root. This is only read if root is marked as constant; in that case, this is of lengthroot->len.reader – [inout] The blob reader, which will be read if
rootis not marked as constant.
- Returns:
 trueif no validation error occurred.- Returns:
 falseif any form of validation error occurred.