encode
Type: Function · Category: encode
Encode an object as a string.
This function is an alias to serialize()
| Argument | Type | Description |
|---|---|---|
string |
Any (required) | The item to encode |
type |
string (required) | Encoding format (csv,json,yaml,hex,base64) |
Platforms: macOS, Linux, Windows