is_json: Check that a file is JSON

View source: R/utils.R

is_jsonR Documentation

Check that a file is JSON

Description

Checks whether a file is a JSON file.

Usage

is_json(file)

Arguments

file

a filepath

Value

a boolean

Examples

## Not run: 
is_json("file.json")

## End(Not run)

daiR documentation built on Sept. 8, 2023, 5:43 p.m.