Skip to content

MTY_JSONInt8

chrisd1100 edited this page Aug 25, 2022 · 1 revision

Get the int8_t value from an MTY_JSON number.

bool MTY_JSONInt8(
    const MTY_JSON * json,
    int8_t *         value
);

Parameters

json (const MTY_JSON *)

An MTY_JSON number.

value (int8_t *)

The int8_t value from json.

Return value

bool

Returns true on success, false if the type of json is not MTY_JSON_NUMBER.

Platform support

Windows   macOS   Android   Linux   Web  

See also

Module: JSON

Clone this wiki locally