Unverified Commit d669a73a authored by Kristof Szabados's avatar Kristof Szabados Committed by GitHub
Browse files

Merge pull request #604 from ppank5/master

Fixed JSON decoding at Java side (bug 568645)
parents 322a77a0 42ef4735
......@@ -2292,6 +2292,9 @@ public final class RecordSetCodeGenerator {
// invalid field name
source.append("\t\t\t\t\t\tif (p_silent) {\n");
source.append("\t\t\t\t\t\t\treturn JSON.JSON_ERROR_INVALID_TOKEN;\n");
source.append(MessageFormat.format("\t\t\t\t\t\tJSON_ERROR(p_silent, error_type.ET_INVAL_MSG, {0}JSON.JSON_DEC_INVALID_NAME_ERROR, fld_name);\n",
has_metainfo_enabled ? "is_metainfo ? JSON.JSON_DEC_METAINFO_NAME_ERROR : " : ""));
// if this is set to a warning, skip the value of the field
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment