mirror of https://github.com/arendst/Tasmota.git
5 lines
137 B
Plaintext
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'))
|