native

json_get_type

Syntax

native JSONType:json_get_type(const JSON:value);

Description

Gets JSON type of passed value.

Parameters

value JSON handle

Return

JSON type (JSONType constants)

Error

If a value handle is invalid