MappingJackson2JsonView does not refer to "renderedAttributes" anymore
Issue: SPR-17182
This commit is contained in:
@@ -216,7 +216,7 @@ public class MappingJackson2JsonView extends AbstractJackson2View {
|
||||
* Filter out undesired attributes from the given model.
|
||||
* The return value can be either another {@link Map} or a single value object.
|
||||
* <p>The default implementation removes {@link BindingResult} instances and entries
|
||||
* not included in the {@link #setModelKeys renderedAttributes} property.
|
||||
* not included in the {@link #setModelKeys modelKeys} property.
|
||||
* @param model the model, as passed on to {@link #renderMergedOutputModel}
|
||||
* @return the value to be rendered
|
||||
*/
|
||||
@@ -263,7 +263,7 @@ public class MappingJackson2JsonView extends AbstractJackson2View {
|
||||
}
|
||||
if (jsonpFunction != null) {
|
||||
generator.writeRaw("/**/");
|
||||
generator.writeRaw(jsonpFunction + "(" );
|
||||
generator.writeRaw(jsonpFunction + "(");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user