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

5 lines
137 B
Python

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