Move JSONDict and JSONValue types into djblets.util.json_utils.

Review Request #12812 — Created Jan. 26, 2023 and discarded — Latest diff uploaded

Information

Djblets
release-3.x

Reviewers

In 3.1, I introduced JSONDict and JSONValue types, which I put into
djblets.db.fields.json_field.

We actually have djblets.util.json_utils, which is a better place for
these. This change moves those here and deprecates (but retains) the old
ones.

Unit tests passed.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Move JSONDict and JSONValue types into djblets.util.json_utils.
In 3.1, I introduced `JSONDict` and `JSONValue` types, which I put into `djblets.db.fields.json_field`. We actually have `djblets.util.json_utils`, which is a better place for these. This change moves those here and deprecates (but retains) the old ones.
d9561b7c5693437cb7563f2af511b0a3d605f79e Christian Hammond
djblets/db/fields/json_field.py
djblets/siteconfig/models.py
djblets/util/json_utils.py
Loading...