@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
Parameter | Type |
---|---|
input | Record <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
Parameter | Type |
---|---|
input | Record <string , unknown > |
Returns
Record
<string
, unknown
>