types.castObject: Cast object

View source: R/types.castObject.R

types.castObjectR Documentation

Cast object

Description

Cast object data which is lists or valid JSON.

Usage

types.castObject(format, value)

Arguments

format

no options (other than the default)

value

object to cast

See Also

Types and formats specifications

Examples


types.castObject(format = "default", value = list())

types.castObject(format = "default", value = "{}")

types.castObject(format = "default", value = '{"key": "value"}')


tableschema.r documentation built on Sept. 30, 2022, 1:06 a.m.