Improved GDScript parse_json() doc about numerical values conversion.
This commit is contained in:
parent
1a857c5149
commit
76e6b2d33b
@ -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">
|
||||
|
Loading…
Reference in New Issue
Block a user