json_encode¶
Hook for converting a dict to a JSON encoded string.
Inputs¶
| Name | Type | Default | Required | Description |
|---|---|---|---|---|
| data | Union[dict, list, str] | True | Map/list or renderable string to data to convert to JSON string. |
Arguments¶
| Position | Argument | Type |
|---|---|---|
| 1 | data | Union[dict, list, str] |
Returns¶
str