Document custom json encoder

This commit is contained in:
Chris Amico 2023-01-18 11:51:12 -05:00
commit ed44bc06d4
3 changed files with 30 additions and 1 deletions

View file

@ -20,4 +20,4 @@ help:
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
livehtml:
sphinx-autobuild -b html "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(0)
sphinx-autobuild -b html --watch ../datasette "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(0)

View file

@ -1200,6 +1200,11 @@ Note that the space character is a special case: it will be replaced with a ``+`
.. _internals_tracer:
JSON encoding
-------------
.. autoclass:: datasette.utils.CustomJSONEncoder
datasette.tracer
================