Serialize
func Serialize(document Document) ([]byte, error)
Serialize validates and encodes a document as canonical JSON.
Parameters
| Name | Type | Description |
|---|---|---|
document | Document | Parameter document of Serialize. |
Returns
([]byte, error)
Source
This page is generated from SDK source metadata and the translation catalog.