Table of Contents

JsonPropertyExtractorValve

Note

For each item, retrieve a JSON object from it using property expansion, then retrieve a property from the JSON object and put the value into another property.

Properties

Name Description Default value Mandatory Supports property expansion
source The source value where the serialized JSON object can be retrieved Yes Yes
path The JSON property name (key) in the JSON object to get the value from Yes No
dest The destination property in the item The configuration property "path" above's value No No

Example Configuration

{
    "name": JsonPropertyExtractorValve,
    "config": {
        "source": "{{item.my_json}}",
        "path": "username",
        "dest": "display_name"
    }
}