json_parser: JSON parser used by this package

Description Usage Arguments Value See Also Examples

Description

Currently this just renames fromJSON in the rjson package.

Usage

1
2
3
4
5
6
7
json_parser(
  json_str,
  file,
  method = "C",
  unexpected.escape = "error",
  simplify = TRUE
)

Arguments

json_str

json string to parse

file

file to read json_Str from

method

method used to parse json

unexpected.escape

handling escape characters, one of error, skip, keep

simplify

if TRUE, convert json-encoded lists to vectors

Value

a JSON object

See Also

fromJSON

Examples

1
json_parser('{"a":true, "b":false, "c":null}')

briangottfried/epivizrPolymer documentation built on Aug. 10, 2021, 9:41 p.m.