isJSON: Test whether a string encodes valid JSON

isJSONR Documentation

Test whether a string encodes valid JSON

Description

This function tests whether a given string contains syntactically correct JSON.

Usage

isJSON(x)

Arguments

x

A character string

Value

A logical value specifying whether the stirng contains valid JSON.

Author(s)

Adam C. Gower agower@bu.edu


agower/GeneHive documentation built on April 14, 2022, 5:08 a.m.