• Bo Yang's avatar
    Convert integer to string if field is string field in json · 96029f3c
    Bo Yang authored
    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.
    96029f3c
failure_list_php.txt 1.19 KB