Commit a8fa970
committed
Json stringify
This change will e.g. make the values of `typing.NamedTuple`s visible in the Web UI. Before this change they were displayed as `[object Object]`.
I believe the measurements are guaranteed to be json-serializable because they are coming in via the websocket transport, which uses json already.object measurements1 parent 7581ab2 commit a8fa970
File tree
1 file changed
+3
-1
lines changed- openhtf/output/web_gui/src/app/stations/station
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
189 | 189 | | |
190 | 190 | | |
191 | 191 | | |
192 | | - | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
193 | 195 | | |
194 | 196 | | |
195 | 197 | | |
| |||
0 commit comments