read_json: Import json

Description Usage Arguments Value Examples

View source: R/config.R

Description

Reads a json file

Usage

1
read_json(pth)

Arguments

pth

the path to the yaml file

Value

a nested list

Examples

1
2
3
4
5
## Not run: 
pth <- "./tests/testthat/test.json"
config <- read_json(pth)

## End(Not run)

holmesjoli/utilsR documentation built on Aug. 13, 2019, 12:31 p.m.