micropython: add micropython component
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
try:
|
||||
import ujson as json
|
||||
except ImportError:
|
||||
try:
|
||||
import json
|
||||
except ImportError:
|
||||
print("SKIP")
|
||||
raise SystemExit
|
||||
|
||||
print(json.dumps(1.2))
|
||||
print(json.dumps({1.5: "hi"}))
|
Reference in New Issue
Block a user