Learn R Programming

tableschema.r (version 1.1.2)

types.castObject: 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

Examples

Run this code

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

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

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

Run the code above in your browser using DataLab