
nativ.setRequestNative(nativeReader.readNativeRequest(new CharArrayReader(
</BUG>
par.getTextCharacters(), par.getTextOffset(), par.getTextLength())));
<BUG>} else {
nativ.setRequestNative(nativeReader.readNativeRequest(par));

}</BUG>
}
break;

return nativ;
}
protected void readNativeField(JsonParser par, Native.Builder nativ, String fieldName)
throws IOException {
switch (fieldName) {
case "request":
if (par.getCurrentToken() == JsonToken.VALUE_STRING) {
nativ.setRequestNative(factory().newNativeReader().readNativeRequest(new CharArrayReader(
par.getTextCharacters(), par.getTextOffset(), par.getTextLength())));
} else { // Object
nativ.setRequestNative(factory().newNativeReader().readNativeRequest(par));
}
break;
