forView

open fun forView(view: Class<out Any>): JacksonTester<T>

Returns a new instance of JacksonTester with the view that should be used for json serialization/deserialization.

Return

the new instance

Parameters

view

the view class