native

json_deep_copy

Syntax

native JSON:json_deep_copy(const JSON:value);

Description

Creates deep copy of passed value.

Parameters

value JSON handle to be copied

Note

Needs to be freed using json_free() native.

Return

JSON handle, Invalid_JSON if error occurred

Error

If passed value is not a valid handle