Improved GDScript parse_json() doc about numerical values conversion.

This commit is contained in:
ducdetronquito 2017-07-06 15:37:18 +02:00
parent 1a857c5149
commit 76e6b2d33b

View File

@ -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">