# JSON Get String

Process

Extracts a string value from a JSON string using a dot-notation path.

JSON Get String
J
V

# Inputs

IDAbbrevNameTypeDefaultDescription
jsonJJSONSTRINGThe JSON string to parse.

# Outputs

IDAbbrevNameTypeDefaultDescription
valueVValueSTRINGThe extracted string value.

# Configuration

IDNameTypeDefaultUnitDescription
pathPathSTRINGDot-notation path to the desired field, e.g. "sensor.name".

Details:

Required

# Source Code

View Volang source
output::set("value", json::get(input::get("json"), config::get("path")))
Extracts a string value from a JSON string using a dot-notation path.