From d5ccb512512cf050bd0c7526c78b5e5469f38089 Mon Sep 17 00:00:00 2001 From: Hussain Nagaria Date: Sat, 16 Dec 2023 14:25:39 +0530 Subject: [PATCH] docs: frappe.as_json --- frappe/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/frappe/__init__.py b/frappe/__init__.py index b59064e95d..b781f46c64 100644 --- a/frappe/__init__.py +++ b/frappe/__init__.py @@ -2011,6 +2011,7 @@ def get_value(*args, **kwargs): def as_json(obj: dict | list, indent=1, separators=None, ensure_ascii=True) -> str: + """Returns the JSON string representation of the given `obj`.""" from frappe.utils.response import json_handler if separators is None: