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)

Hegghammer/daiR documentation built on Nov. 15, 2024, 10:34 p.m.