Wiki source code of Data-Logging
Version 1.1 by Michael Sibayan on 2022/05/03 16:48
Show last authors
| author | version | line-number | content |
|---|---|---|---|
| 1 | Biosphere 2 conditions as measured on the orchard roof. | ||
| 2 | |||
| 3 | {{box}} | ||
| 4 | {{groovy}} | ||
| 5 | //import groovy.json.JsonSlurper | ||
| 6 | //def LP02Json = 'http://10.160.1.30/statefiles/state.leo_general.LP02.json'.toURL().text | ||
| 7 | //def jsonSlurper = new JsonSlurper() | ||
| 8 | //def object = jsonSlurper.parse(LP02Json) | ||
| 9 | //object instanceof map | ||
| 10 | //println object.sensorCode | ||
| 11 | |||
| 12 | |||
| 13 | {{/groovy}} | ||
| 14 | {{/box}} |