ClassesClassesClassesClasses | | | | Operators

json_is_validjson_is_validJsonIsValidjson_is_validJsonIsValidJsonIsValid (Operator)

Name

json_is_validjson_is_validJsonIsValidjson_is_validJsonIsValidJsonIsValid — Checks if a string is a valid JSON string.

Signature

json_is_valid( : : TestString : IsValid)

Herror json_is_valid(const char* TestString, Hlong* IsValid)

Herror T_json_is_valid(const Htuple TestString, Htuple* IsValid)

Herror json_is_valid(const HTuple& TestString, Hlong* IsValid)

void JsonIsValid(const HTuple& TestString, HTuple* IsValid)

void HJsonX.JsonIsValid(
[in] VARIANT TestString, [out] VARIANT* IsValid)

static void HJson.JsonIsValid(HTuple testString, out HTuple isValid)

Description

json_is_validjson_is_validJsonIsValidjson_is_validJsonIsValidJsonIsValid checks if a string is a valid JSON string.

Find more information about the JSON extension package in the introduction to this chapter.

Parallelization

Parameters

TestStringTestStringTestStringTestStringTestStringtestString (input_control)  string HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

string to be tested for valid JSON representation

IsValidIsValidIsValidIsValidIsValidisValid (output_control)  integer HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

true if the provided string is a valid JSON string

Module

Foundation


ClassesClassesClassesClasses | | | | Operators