mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-23 20:31:32 +08:00
Like `json.dump`, `ujson.dump` takes any object that has a string-accepting `.write` method. Similarly, `ujson.load` works with any object with a `.read()` that returns either a string or a bytes