Interface IJsonOutputFormatterRegistry
A registry for IJsonOutputFormatter instances
Namespace: EPiServer.Formatters
Assembly: EPiServer.Cms.AspNetCore.dll
Version: 12.0.3Syntax
public interface IJsonOutputFormatterRegistry
Methods
Resolve(Type)
Resolves which IJsonOutputFormatter that should be used to serialize a result to the response body
Declaration
IJsonOutputFormatter Resolve(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The type to serialize |
Returns
Type | Description |
---|---|
IJsonOutputFormatter | A formatter to use for serialization |