json_validate: Is JSON file or text valid?

View source: R/utils_file_io.R

json_validateR Documentation

Is JSON file or text valid?

Description

Is JSON file or text valid?

Usage

json_validate(x)

Arguments

x

chr JSON string or file path

Value

lgl Whether JSON is valid

Examples

json_validate('{"done" : 1}')

yogat3ch/UU documentation built on May 31, 2024, 10:14 p.m.