Tasmota/lib/libesp32/berry/examples/json.be

5 lines
137 B
Plaintext
Raw Normal View History

2021-04-12 18:53:35 +01:00
import json
print(json.load('{"key": "value"}'))
print(json.dump({'test key': nil}))
print(json.dump({'key1': nil, 45: true}, 'format'))