Skip to content

MTY_JSONNumber

chrisd1100 edited this page Aug 25, 2022 · 1 revision

Get the double value from an MTY_JSON number.

bool MTY_JSONNumber(
    const MTY_JSON * json,
    double *         value
);

Parameters

json (const MTY_JSON *)

An MTY_JSON number.

value (double *)

The double 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