circuitpython/tests/extmod/ujson_dumps_float.py

7 lines
90 B
Python
Raw Normal View History

try:
import ujson as json
except ImportError:
import json
print(json.dumps(1.2))