Primitive
data.toJson
BETAShort name: toJson
Version: 1.0.0
Serialize a value to JSON text.
Back to primitive libraryInputs
| Key | Type | Required | Description |
|---|---|---|---|
| pretty | boolean | false | Pretty-print with indentation when true. |
| value | any | true | Value to serialize. |
Outputs
| Key | Type | Required | Description |
|---|---|---|---|
| result | string | false | JSON output string. |