# JSON Get Number
Extracts a numeric value from a JSON string using a dot-notation path.
JSON Get Number
J
V
# Inputs
| ID | Abbrev | Name | Type | Default | Description |
|---|---|---|---|---|---|
json | J | JSON | STRING | | The JSON string to parse. |
# Outputs
| ID | Abbrev | Name | Type | Default | Description |
|---|---|---|---|---|---|
value | V | Value | NUMBER | 0 | The extracted numeric value. |
# Configuration
| ID | Name | Type | Default | Unit | Description |
|---|---|---|---|---|---|
path | Path | STRING | | Dot-notation path to the desired field, e.g. "sensor.value". Details: Required |
# Source Code
View Volang source
output::set("value", json::get(input::get("json"), config::get("path")))
