peek: Peek at a query

Description Usage Arguments See Also Examples

View source: R/peek.R

Description

Prints the query resulting from jq all in one character string just as you would execute it on the command line. Output gets class of json, and pretty prints to the console for easier viewing.

Usage

1

Arguments

.data

(list) input, using higher level interface

See Also

jq.

Examples

1
2
'{"a": 7}' %>% do(.a + 1) %>% peek
'[8,3,null,6]' %>% sortj %>% peek

ropensci/jqr documentation built on Oct. 26, 2018, 7:15 p.m.