Config
JsonPlugin configuration that is used during installation
Properties
List of content types that are handled by this plugin. It also affects Accept
request header value. Please note that wildcard content types are supported but no quality specification provided.
List of content type matchers that are handled by this plugin. Please note that wildcard content types are supported but no quality specification provided.
Serializer that will be used for serializing requests and deserializing response bodies.
Functions
Adds accepted content types. Be aware that ContentType.Application.Json accepted by default is removed from the list if you use this function to provide accepted content types. It also affects Accept
request header value.
Clear all configured ignored types including defaults.
Adds a type to the list of types that should be ignored by ContentNegotiation.
Adds a type to the list of types that should be ignored by ContentNegotiation.
Adds accepted content types. Existing content types will not be removed.