native

json_setting_get_int

Syntax

native bool:json_setting_get_int(const file_name_path[], const section[], const key[], &int_value, const bool:check_type = true);

Description

Returns the integer value of the key

Parameters

file_name_path .json file path
section section name
key key name
int_value integer return variable
check_type false to not check if the value is int

Return

true if the section and key exists, false otherwise