public void checkMapResolve(Map object, String fieldName) { if (this.resolveStatus == 1) { MapResolveFieldDeserializer fieldResolver = new MapResolveFieldDeserializer(object, fieldName); ResolveTask task = getLastResolveTask(); task.setFieldDeserializer(fieldResolver); task.setOwnerContext(this.context); setResolveStatus(0); } }
@SuppressWarnings("rawtypes") public void checkMapResolve(Map object, String fieldName) { if (resolveStatus == NeedToResolve) { MapResolveFieldDeserializer fieldResolver = new MapResolveFieldDeserializer(object, fieldName); ResolveTask task = getLastResolveTask(); task.setFieldDeserializer(fieldResolver); task.setOwnerContext(context); setResolveStatus(DefaultJSONParser.NONE); } }