docs: frappe.as_json

This commit is contained in:
Hussain Nagaria 2023-12-16 14:25:39 +05:30
parent 3adc83e7c6
commit d5ccb51251

View file

@ -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: