json_decode automatically convert numeric string to integer, so that we need to convert it back. However, this will suceed to parse invalid json data with string field set as integer even though it should have failed. Because, the failure case is less often than the succeeding case, we decided to make this change. Users should make sure their data don't use integer for string fields by themselves.pull/5644/head
parent
32339be92a
commit
96029f3c4a
3 changed files with 15 additions and 0 deletions
Loading…
Reference in new issue