Client and backend. This class is shared: the same code is compiled into your app and into your server, so everything on this page works in both.
@Retention(CLASS) @Target({TYPE})
public @interface JsonStrict
Refuses a body that carries a member this class does not declare.
By default an unknown member is ignored, as a Spring Boot application
ignores one, so a newer client can talk to an older server. A contract that
would rather hear about a misspelt member than lose it silently marks the
class: the read then fails with the member’s path, for example
$.items[2].colour: unknown member. Names a field lists in
JsonProperty.aliases are known; names of JsonIgnore fields are not.