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

5 lines
137 B
Plaintext

import json
print(json.load('{"key": "value"}'))
print(json.dump({'test key': nil}))
print(json.dump({'key1': nil, 45: true}, 'format'))