json_array_replace_null

Syntax

native bool:json_array_replace_null(JSON:array, index);

Usage

array
Array handle
index
Position in the array to be replaced

Description

Replaces an element in the array with null.

Return

True if succeed, false otherwise

Error

If passed handle is not a valid array