Nothing
test_that("json_keys works", {
expect_equal(
json_keys(c(
'{"a": 1, "b": 2}',
'{"x": 1, "y": 2}',
"[1, 2]"
)),
list(
c("a", "b"),
c("x", "y"),
c(0L, 1L)
)
)
})
test_that("json_path_exists works", {
expect_equal(
json_path_exists(
c(
'{"a": 1}',
'{"b": 2}',
"[1, 2]",
NA_character_
),
"$.a"
),
c(TRUE, FALSE, FALSE, NA)
)
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.