Serialization - Rendering documents

The renderer takes your business objects (which can be any ruby objects: POROs, ActiveRecord models, or even plain hashes), along with some optional parameters (include, fields, etc.), and builds the JSON API document.

The available global options are:

When serializing resources and relationships, the following data-related options are also available: