ClassesClassesClassesClasses | | | | Operators

json_is_primitivejson_is_primitiveJsonIsPrimitivejson_is_primitiveJsonIsPrimitiveJsonIsPrimitive (Operator)

Name

json_is_primitivejson_is_primitiveJsonIsPrimitivejson_is_primitiveJsonIsPrimitiveJsonIsPrimitive — Checks if a JSON-String is a primitive data type.

Signature

json_is_primitive( : : Json : IsPrimitive)

Herror json_is_primitive(const char* Json, Hlong* IsPrimitive)

Herror T_json_is_primitive(const Htuple Json, Htuple* IsPrimitive)

Herror json_is_primitive(const HTuple& Json, Hlong* IsPrimitive)

void JsonIsPrimitive(const HTuple& Json, HTuple* IsPrimitive)

void HJsonX.JsonIsPrimitive(
[in] VARIANT Json, [out] VARIANT* IsPrimitive)

static void HJson.JsonIsPrimitive(HTuple json, out HTuple isPrimitive)

Description

json_is_primitivejson_is_primitiveJsonIsPrimitivejson_is_primitiveJsonIsPrimitiveJsonIsPrimitive checks if a JSON-String is a primitive data type, i.e. null, a string, a boolean value, or a number.

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

Parallelization

Parameters

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

JSON string

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

true if Json is a primitive data type

Module

Foundation


ClassesClassesClassesClasses | | | | Operators