diff options
author | ducdetronquito <guillaume.paulet@giome.fr> | 2017-07-06 15:37:18 +0200 |
---|---|---|
committer | ducdetronquito <guillaume.paulet@giome.fr> | 2017-07-06 16:46:37 +0200 |
commit | 76e6b2d33bb2c16ce9fd142baca3d28a0a6e04b6 (patch) | |
tree | 396b6ab87a1548482dd83f8a395cd0b2d4113098 | |
parent | 1a857c514961eff16f0848a5a8b819618053e0df (diff) |
Improved GDScript parse_json() doc about numerical values conversion.
-rw-r--r-- | doc/base/classes.xml | 3 |
1 files changed, 2 insertions, 1 deletions
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 @@ <argument index="0" name="json" type="String"> </argument> <description> - 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. </description> </method> <method name="pow"> |