commit | 612045f53f7e5edf9faa359ee9ee52d490d58000 | [log] [tgz] |
---|---|---|
author | Damien George <damien.p.george@gmail.com> | Wed Sep 17 22:56:34 2014 +0100 |
committer | Damien George <damien.p.george@gmail.com> | Wed Sep 17 22:56:34 2014 +0100 |
tree | a021612e31ff6275246514405c4a8421c6eff5d7 | |
parent | 8a9b999f1c9a0edf84b2507940efb8deaaa380b8 [diff] [blame] |
py: Add native json printing using existing print framework. Also add start of ujson module with dumps implemented. Enabled in unix and stmhal ports. Test passes on both.
diff --git a/py/builtin.h b/py/builtin.h index 1bb61f6..9c8b2b9 100644 --- a/py/builtin.h +++ b/py/builtin.h
@@ -89,3 +89,4 @@ // extmod modules extern const mp_obj_module_t mp_module_uctypes; extern const mp_obj_module_t mp_module_zlibd; +extern const mp_obj_module_t mp_module_ujson;