ujson module missing dump(obj, stream) function - is this planned ?



  • Hi

    Just starting out with gpy and fipy.

    I have noticed that the pycom ujson module is missing the dump(obj, stream) function.
    This is valuable in reducing memory consumption, by reusing a bytearray as a buffer for encoded packets.
    I am doing work with fairly large json payloads for mqtt, and found this is helpful.

    Any plans on adding this functionality to the ujson module ?

    Thanks

    Tim


 

Pycom on Twitter