Skip to content

MTY_JSONArrayCreate

chrisd1100 edited this page Aug 25, 2022 · 2 revisions

Create a new MTY_JSON array.

MTY_JSON *MTY_JSONArrayCreate(
    uint32_t len
);

Parameters

len (uint32_t)

The number of elements allocated in the array.

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