[Microbit-Python] JSON on micro:bit

Joseph Bunce bunce.joe at gmail.com
Sun Apr 9 05:36:00 EDT 2017


Is there any other way to load and dump JSON then or not?

On Sunday, 9 April 2017, Damien George <damien.p.george at gmail.com> wrote:

> No, the ujson library is not enabled on the micro:bit, due to size
> constraints.
>
> On 9 April 2017 at 07:31, Joseph Bunce <bunce.joe at gmail.com
> <javascript:_e(%7B%7D,'cvml','bunce.joe at gmail.com');>> wrote:
>
>>  Hello,
>>
>> In the micro python (not micro:bit) documentation, it seems you can get
>> access to the ujson library which has the basic dumps() and loads()
>> methods. Is it possable to access this on the micro:bit an it does not seem
>> to ba a listed module? I am aware that you can sortof use eval() to achieve
>> the same end but this is generally very much suggested against.
>>
>> Thanks.
>>
>> _______________________________________________
>> Microbit mailing list
>> Microbit at python.org <javascript:_e(%7B%7D,'cvml','Microbit at python.org');>
>> https://mail.python.org/mailman/listinfo/microbit
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/microbit/attachments/20170409/ee614c81/attachment.html>


More information about the Microbit mailing list