json_object_set_number
- Синтаксис
-
native bool:json_object_set_number(JSON:object, const name[], number, bool:dot_not = false);
Переменная | Описание |
---|---|
object |
Object handle |
name |
Key name |
number |
Number to set |
dot_not |
True to use dot notation, false to not |
- Описание
- Sets a number in the object.
- Пометка
-
If dot notation is used some values may be inaccessible because valid names in JSON can contain dots.
- Пометка
-
It also removes the old value if any.
- Возвращает
- True if succeed, false otherwise