Document custom json encoder (#1996)

Closes #1983
This commit is contained in:
Chris Amico 2026-06-23 19:24:03 -04:00 committed by GitHub
commit fc2922a300
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 32 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

@ -2579,6 +2579,13 @@ Async version of :ref:`call_with_supported_arguments <internals_utils_call_with_
.. _internals_tracer:
JSON encoding
-------------
.. _internals_utils_CustomJSONEncoder:
.. autoclass:: datasette.utils.CustomJSONEncoder
datasette.tracer
================