We need to create a Custom Data Format for our Java application.
In the documentation for serving data in another format than html, seems easy in C# application, but in our Java / Spring application we don't know where to add our Custom Formatter
Sdl.Web.Mvc.Formats.DataFormatters.Add("FORMATNAME", new MySite.Formatters.MyCustomerFormatter());
Our DXA version is 2.0 and SDL 8.5