Is there a way to generate XML from the configuration / programming used by the Rails AciveModelSerializer gem? It seems that AMS only generates custom JSON. XML comes in the default format.
I saw links to AciveModelSerialization and that it supports JSON and XML, but the configuration, while similar, is different. What is the story with the difference between the two? Is one leaving? How are they compared in real use (other than formatting)?
source
share