as.json: Coerce string to JSON

View source: R/to_json.R

as.jsonR Documentation

Coerce string to JSON

Description

Coerce string to JSON

Usage

as.json(x)

Arguments

x

string to coerce to JSON

Examples


js <- '{"x":1,"y":2}'
as.json(js)


jsonify documentation built on Nov. 10, 2022, 5:34 p.m.