Type: lib.json.StringifyJSON
Namespace: lib.json
Description
Convert a Python object to a JSON string. json, stringify, encode
Use cases:
- Prepare data for API requests
- Save data in JSON format
Properties
| Property | Type | Description | Default |
|---|---|---|---|
| data | any |
Data to convert to JSON | {} |
| indent | int |
Number of spaces for indentation | 2 |
Outputs
| Output | Type | Description |
|---|---|---|
| output | str |
Metadata
Related Nodes
Browse other nodes in the lib.json namespace.