Project

General

Profile

simple_10925.patch

Paul Bodale, 11/24/2025 08:46 AM

Download (866 Bytes)

View differences:

new/src/com/goldencode/p2j/persist/serial/JsonImport.java 2025-11-24 13:32:14 +0000
1065 1065
      
1066 1066
      String tableName = null;
1067 1067
      JsonToken tok = parser.currentToken();
1068
      if (dsHidden && tok == FIELD_NAME)
1069
      {
1070
         // allow reading the dataset serialize name even if it's declared with SERIALIZE-HIDDEN
1071
         String name = parser.currentName();
1072
         if (name.equalsIgnoreCase(ds._name()))
1073
         {
1074
            tok = parser.nextToken();
1075
         }
1076
      }
1077

  
1068 1078
      while ((dsHidden && tok != null) || (tok = parser.nextToken()) != null)
1069 1079
      {
1070 1080
         // if DATASET:SERIALIZE-HIDDEN, allow to read the table name without advancing the parser