Commit Graph

6 Commits

Author SHA1 Message Date
Tim Stumbaugh
f5a870b987 Convert the remaining ujson uses of AnyStr (#10086)
Followup from #10081
2023-05-01 08:24:25 -07:00
Tim Stumbaugh
9abf620500 Loosen constraints on ujson file functions (#10081)
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
2023-04-24 21:45:50 -06:00
Grigoriev Semyon
6f35e8d9fa Make most ujson.dump() parameters keyword-only (#10044) 2023-04-13 16:36:02 +03:00
Daniel Bergamin
be4f64cc4f [ujson] Update stubs with new features (#10035) 2023-04-12 15:47:37 +02:00
Chanwoo Yoon
92ba4b757f ujson: add JSONDecodeError (#7988) 2022-05-29 23:19:29 -07:00
Ivan Levkivskyi
16ae4c6120 Re-organize directory structure (#4971)
See discussion in #2491

Co-authored-by: Ivan Levkivskyi <ilevkivskyi@dropbox.com>
2021-01-27 12:00:39 +00:00