diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2017-07-06 16:49:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-06 16:49:38 +0200 |
commit | 2d95c510fc57f5b6d6cbacc73994b701e651873b (patch) | |
tree | 396b6ab87a1548482dd83f8a395cd0b2d4113098 | |
parent | 1a857c514961eff16f0848a5a8b819618053e0df (diff) | |
parent | 76e6b2d33bb2c16ce9fd142baca3d28a0a6e04b6 (diff) |
Merge pull request #9528 from ducdetronquito/dictionary-parsejson-doc
Improved parse_json() doc about numerical values conversion.
[ci skip]
-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"> |