From 76e6b2d33bb2c16ce9fd142baca3d28a0a6e04b6 Mon Sep 17 00:00:00 2001 From: ducdetronquito Date: Thu, 6 Jul 2017 15:37:18 +0200 Subject: Improved GDScript parse_json() doc about numerical values conversion. --- doc/base/classes.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/base/classes.xml b/doc/base/classes.xml index af90b5cde0..39f5c94a94 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -388,7 +388,8 @@ - Parse json text to a Variant (use [method typeof] to check if it is what you expect). + Parse JSON text to a Variant (use [method typeof] to check if it is what you expect). + Be aware that the JSON specification does not define integer or float types, but only a number type. Therefore, parsing a JSON text will convert every numerical values to [float] types. -- cgit v1.2.3