df2json (version 0.0.2)

json2df: Convert a JSON string into a data frame

Description

Convert a JSON string into a data frame

Usage

json2df(json)

Arguments

json
input json object

Examples

Run this code
library(df2json)
json <- "[{\"a\":1, \"b\":2},{\"a\":3,\"b\":4}]"
json2df(json)

Run the code above in your browser using DataCamp Workspace