1) Give a description of the problem
I cannot get JSON parsing to work.
2) What is the expected behaviour?
string variable = {$json.elevation} after doing a Parse JSON Data statement
3) What is happening/not happening?
The data is always blank
**4) Post a Green Snapshot of the piston![image|45x37]
Here is the Full log for the part of the piston that is trying to use JSON data. The $response data is at +132ms
| +130ms | ║║Executed virtual command setState (0ms) |
|---|---|
| +132ms | ║║{“altitude_m”:1609.0,“azimuth”:256.3974,“delta_t_s”:75.56,“elevation”:4.5091,“elevation_true”:4.363,“is_up”:true,“latitude”:39.11699,“longitude”:-104.9903,“pressure_pa”:83431.0,“time_utc”:“2026-10-12T23:58:05.800686+00:00”,“zenith”:85.4909} |
| +134ms | ║║Executed virtual command log (3ms) |
| +136ms | ║║Executed virtual command parseJson (1ms) |
| +137ms | ║║Calculating (string)Elevation = + (string) >> (string)Elevation = |
| +137ms | ║║Calculating (string)Elevation = + (string) Azimuth = >> (string)Elevation = Azimuth = |
| +138ms | ║║Calculating (string)Elevation = Azimuth = + (string) >> (string)Elevation = Azimuth = |
| +139ms | ║║Elevation = Azimuth = |
| +140ms | ║║Executed virtual command log (2ms) |
| +141ms | ║╚Execution stage complete. (127ms) |
