Skip to content

Commit d5d0934

Browse files
author
Evan Roman
committed
Fix
1 parent 82c7668 commit d5d0934

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

azure/functions/_jsonutils.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
11
from abc import ABC, abstractmethod
2-
import logging
32
from typing import Any, Union
43
from types import SimpleNamespace
54

65

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+
"""
713
class JsonInterface(ABC):
814
@abstractmethod
915
def dumps(self, obj: Any, **kwargs: Any) -> str:

0 commit comments

Comments
 (0)