We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82c7668 commit d5d0934Copy full SHA for d5d0934
azure/functions/_jsonutils.py
@@ -1,9 +1,15 @@
1
from abc import ABC, abstractmethod
2
-import logging
3
from typing import Any, Union
4
from types import SimpleNamespace
5
6
+"""
7
+Azure Functions JSON utilities.
8
+This module provides a JSON interface that can be used to serialize and
9
+deserialize objects to and from JSON format. It supports both the `orjson`
10
+and the standard `json` libraries, falling back to the standard library
11
+if `orjson` is not available (installed).
12
13
class JsonInterface(ABC):
14
@abstractmethod
15
def dumps(self, obj: Any, **kwargs: Any) -> str:
0 commit comments