Sudzc deserializeAsDictionary: over written dictionary

后端 未结 5 1016
渐次进展
渐次进展 2021-01-17 08:06

The Sudzc generated code is over writing a dictionary for deserialized nodes. If I use the NSLog(@\"The Child Node: %@\", [[[element children] objectAtIndex:0] stringValue]

5条回答
  •  春和景丽
    2021-01-17 08:41

    I'm uncertain on how you applied your fix, are you replacing the entire code in deserializeAsDictionary or are you appending to the end of the code?

    see there's a for loop where the code line

      [d setObject:v forKey:[child name]];
    

    is found, so I'm guessing you simply extended that so that instead of closing the for loop you simply extend it here, is this right?

提交回复
热议问题