Issue #11 new

Implement file-based dump in addition to load if available

Anonymous created an issue

It would be nice to have access to the dump as well since eg Django supports handling responses like writable objects so if you could dump into those so you wouldn't need to generate the entire JSON string until you can start sending stuff over the network. All in all it's nice to save the memory if supported by JSON implementation. Fallback would be encoding the JSON into a string and then writing that to the file-like object.

Comments (0)

  1. Log in to comment