Skip to main content

Serialize

func Serialize(document Document) ([]byte, error)

Serialize validates and encodes a document as canonical JSON.

Parameters​

NameTypeDescription
documentDocumentParameter document of Serialize.

Returns​

([]byte, error)

Source​

This page is generated from SDK source metadata and the translation catalog.