Learn R Programming

daiR (version 1.0.0)

is_json: Check that a file is JSON

Description

Checks whether a file is a JSON file.

Usage

is_json(file)

Value

a boolean

Arguments

file

a filepath

Examples

Run this code
if (FALSE) {
is_json("file.json")
}

Run the code above in your browser using DataLab