jsonmatch: Simple matching on JSON

Description Usage Arguments Details Value

View source: R/jsonmatch.R

Description

Subset JSON without parsing it to its equivalent R representation.

Usage

1
jsonmatch(json, pattern, auto_unbox = FALSE, strict = TRUE)

Arguments

json

Character. In-memory JSON string or filename.

pattern

Character. Subset pattern.

auto_unbox

Logical. Unbox JSON? Default: FALSE.

strict

Logical. Only allow valid JSON? Default: TRUE.

Details

Parameter pattern allows matching keys of a JSON object .key,.k*y, and keys/indices of a JSON array [0,3,5], [0:5], [0:]. ...

Value

JSON string.


chiefBiiko/jsonmatch documentation built on May 23, 2019, 8:36 a.m.