summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authordobosevych <dobosevych@users.noreply.github.com>2022-04-16 13:57:37 +0300
committerGitHub <noreply@github.com>2022-04-16 16:57:37 +0600
commit260823304f487e982ce6ecc660ad12cc7f55c987 (patch)
tree0e426435d8f35ad8179e29e52bbb2609840d96f9 /docs
parent7516daf7a774dd9671d16c475c6ac266de977a0a (diff)
downloadkombu-260823304f487e982ce6ecc660ad12cc7f55c987.tar.gz
json.py cleaning from outdated libs (#1533)
* json.py cleaning from outdated libs * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * 1. Removed cjson and simplejson from documentation, as those libraries aren't supported anymore 2. Removed _json_extra_kwargs from json.py Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/kombu.serialization.rst2
-rw-r--r--docs/userguide/serialization.rst7
2 files changed, 3 insertions, 6 deletions
diff --git a/docs/reference/kombu.serialization.rst b/docs/reference/kombu.serialization.rst
index 04d7b84a..07ca9bfb 100644
--- a/docs/reference/kombu.serialization.rst
+++ b/docs/reference/kombu.serialization.rst
@@ -44,8 +44,6 @@
.. autodata:: registry
-.. _`cjson`: https://pypi.org/project/python-cjson/
-.. _`simplejson`: https://github.com/simplejson/simplejson
.. _`Python 2.7+`: https://docs.python.org/library/json.html
.. _`PyYAML`: https://pyyaml.org/
.. _`msgpack`: https://msgpack.org/
diff --git a/docs/userguide/serialization.rst b/docs/userguide/serialization.rst
index e9cc94d3..f5cb8125 100644
--- a/docs/userguide/serialization.rst
+++ b/docs/userguide/serialization.rst
@@ -32,10 +32,9 @@ The accept argument can also include MIME-types.
Each option has its advantages and disadvantages.
-`json` -- JSON is supported in many programming languages, is now
- a standard part of Python (since 2.6), and is fairly fast to
- decode using the modern Python libraries such as `cjson` or
- `simplejson`.
+`json` -- JSON is supported in many programming languages, is
+ a standard part of Python, and is fairly fast to
+ decode.
The primary disadvantage to `JSON` is that it limits you to
the following data types: strings, Unicode, floats, boolean,