From 9060a18639f34e685e53498e9c4d83849baec21e Mon Sep 17 00:00:00 2001 From: ducdetronquito Date: Thu, 6 Jul 2017 15:37:18 +0200 Subject: [PATCH] Improved GDScript parse_json() doc about numerical values conversion. (cherry picked from commit 76e6b2d33bb2c16ce9fd142baca3d28a0a6e04b6) --- 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 ae1d20d4292..41a34e32bd4 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -10939,7 +10939,8 @@ - Parse json text to the dictionary. Return OK when successed or the error code when failed. + Parse JSON text to the dictionary. Return OK when successed or the error code when failed. + 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.