Json Array Mapper Response
data class JsonArrayMapperResponse(val destinationField: JsonMapperDestinationFieldResponse? = null, val keys: List<String>, val sourceField: JsonMapperSourceFieldResponse? = null)
A component that allows parsing a value from sourceField as a json array, match a key to each parsed value from keys, and output the key-value map to destinationField field.
Constructors
Link copied to clipboard
constructor(destinationField: JsonMapperDestinationFieldResponse? = null, keys: List<String>, sourceField: JsonMapperSourceFieldResponse? = null)
Properties
Link copied to clipboard
Define a destination field to which the parsed output will be written. The output is a map, it's keys is the given keys array and the matching values are the parsed json array elements.
Link copied to clipboard
Define a source field from which a json array will be read and parsed to it's elements. The number of elements in the json array is expected to be the same as the length of keys.