Improved GDScript parse_json() doc about numerical values conversion.
(cherry picked from commit 76e6b2d33b
)
This commit is contained in:
parent
88236c7418
commit
9060a18639
|
@ -10939,7 +10939,8 @@
|
||||||
<argument index="0" name="json" type="String">
|
<argument index="0" name="json" type="String">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
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.
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="size">
|
<method name="size">
|
||||||
|
|
Loading…
Reference in New Issue