Skip to content

MTY_JSONDuplicate

chrisd1100 edited this page Aug 25, 2022 · 1 revision

Deep copy an MTY_JSON item.

MTY_JSON *MTY_JSONDuplicate(
    const MTY_JSON * json
);

Parameters

json (const MTY_JSON *)

The MTY_JSON item to duplicate.

Return value

MTY_JSON *

The returned MTY_JSON item should be destroyed with MTY_JSONDestroy if it remains the root item in the hierarchy.

Platform support

Windows   macOS   Android   Linux   Web  

See also

Module: JSON

Clone this wiki locally