Skip to main content

@terascope/data-mate / data-frame/metadata-utils

data-frame/metadata-utils

Functions

convertMetadataFromJSON()

convertMetadataFromJSON(input): Record<string, unknown>

Converts the Metadata from JSON compatible objects so it can be serialized

Parameters

ParameterType
inputRecord<string, unknown>

Returns

Record<string, unknown>

Source

data-mate/src/data-frame/metadata-utils.ts:64


convertMetadataToJSON()

convertMetadataToJSON(input): Record<string, unknown>

Converts the Metadata to JSON compatible objects so it can be serialized

Parameters

ParameterType
inputRecord<string, unknown>

Returns

Record<string, unknown>

Source

data-mate/src/data-frame/metadata-utils.ts:8