bricklayer_json_from_json: Parse JSON into R objects (jsonlite's fromJSON, natively)

View source: R/json_native.R

bricklayer_json_from_jsonR Documentation

Parse JSON into R objects (jsonlite's fromJSON, natively)

Description

Parse JSON into R objects (jsonlite's fromJSON, natively)

Usage

bricklayer_json_from_json(
  txt,
  simplifyVector = TRUE,
  simplifyDataFrame = simplifyVector,
  simplifyMatrix = simplifyVector,
  flatten = FALSE,
  bigint_as_char = FALSE,
  simplify = NULL,
  ...
)

Arguments

txt

JSON text, a file path, or an http(s) URL.

simplifyVector, simplifyDataFrame, simplifyMatrix, flatten

as in jsonlite.

bigint_as_char

integers beyond 2^53 come back as strings.

simplify

legacy: FALSE turns every simplification off.

...

ignored, for call compatibility.

Value

an R object.

Examples

bricklayer_json_from_json('[{"a":1,"b":"x"},{"a":2,"b":"y"}]')
bricklayer_json_from_json('[[1,2],[3,4]]')

rmoriebricklayer documentation built on Sept. 9, 2026, 1:06 a.m.