Skip to main content

toJsonBytes

@webda/oci


Function: toJsonBytes()

toJsonBytes(value): Buffer

Defined in: packages/oci/src/oci.ts:251

Serialize a JSON document the same way every time

Keys are kept in insertion order: the builders create the objects in a fixed order.

Parameters​

value​

any

the document

Returns​

Buffer

the bytes