docs: frappe.as_json
This commit is contained in:
parent
3adc83e7c6
commit
d5ccb51251
1 changed files with 1 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue