Method AddXmlJsonDataFormat(IRouteContext, Action<XmlJsonOptions>?)
Registers the format on the context under its content type and the name xmljson, for
<marshal format="xmljson"/> and Marshal("xmljson").
public static IRouteContext AddXmlJsonDataFormat(this IRouteContext context, Action<XmlJsonOptions>? configure = null)