json_encode {JSON} R Documentation

Returns the JSON representation of a value

Description

Usage

json_encode(x,
    maskReadonly = FALSE,
    indent = FALSE,
    enumToStr = TRUE,
    unixTimestamp = TRUE,
    unicode.escape = TRUE,
    ... = NULL);

Arguments

x

The value being encoded. Can be any type except a resource.

maskReadonly

[as boolean]

indent

[as boolean]

enumToStr

[as boolean]

unixTimestamp

[as boolean]

env

[as Environment]

Details

Authors

SMRUCC genomics

Value

Returns a string containing the JSON representation of the supplied value.

clr value class

Examples


[Package JSON version 6.0.0.3654 Index]