spring-framework / org.springframework.web.servlet.view.json / MappingJackson2JsonView / setJsonPrefix

setJsonPrefix

open fun setJsonPrefix(jsonPrefix: String): Unit

Specify a custom prefix to use for this view's JSON output. Default is none.

See Also
#setPrefixJson