Serialization groups 
Roadiz CMS uses symfony/serializer to perform JSON serialization over any objects, especially Doctrine entities.
| Group | Description | 
|---|---|
id | Serialize every entity id. | 
timestamps | Serialize every date-timed entity createdAt and updatedAt fields. | 
position | Serialize every entity position fields. | 
color | Serialize every entity color fields. | 
nodes_sources | Serialize entities in a NodesSources context (all fields). | 
nodes_sources_base | Serialize entities in a NodesSources context, but with essential information. | 
nodes_sources_documents | Serialize documents linked to a NodesSources for each virtual field. | 
nodes_sources_default | Serialize NodesSources fields not contained in any group. | 
nodes_sources_xxxx | Custom serialization groups are created according to your node-type fields groups. For example, if you set a field to a link group, nodes_sources_link serialization group will be automatically generated for this field.Be careful, Roadiz will use groups canonical names to generate serialization groups, it can mix _ and -. | 
node | Serialize entities in a Node context. | 
node_children | Serialize Nodes with their children. | 
node_attributes | Serialize Nodes with their attribute values. | 
node_listing | Serialize Nodes and NodesSources with their listing children options.Adds listingSortOptions field to node-sources, with for example { "node.position": "ASC" } to be able to fetch children nodes in a the same order as in the back-office.If the current serialized node-source parent is hiding its children, listingSortOptions will be contain parent's listingSortOptions instead. | 
tag | Serialize Tag. | 
tag_base | Serialize Tags with minimum information. | 
tag_parent | Serialize Tags with their parent. | 
tag_children | Serialize Tags with their children, do not use with tag_parent group. | 
tag_documents | Serialize Tags with their documents. | 
tag_color | Serialize Tags with their color field. | 
tag_children_order | Serialize Tags with their children_order fields. | 
node_type | Serialize entities in a NodeType context. | 
attribute | Serialize entities in a Attribute context. | 
attribute_documents | Serialize documents linked to a Attribute for each virtual field. | 
custom_form | Serialize entities in a CustomForm context. | 
document | Serialize entities in a Document context. | 
document_display | Serialize Document information required for displaying them. | 
document_private | Serialize Document privacy information. | 
document_display_sources | Serialize Document information required for displaying alternative sources (audio, video). | 
document_thumbnails | Serialize Document first available thumbnail. | 
document_raw_relative_path | Serialize rawRelativePath when document has a RAW version and make it downloadable | 
document_folders | Serialize Document information required for displaying attached visible folders. | 
document_folders_all | Serialize all Document attached folders, even not visible ones. | 
folder | Serialize entities in a Folder context. | 
translation | Serialize entities in a Translation context. | 
translation_base | Serialize Translation information required for displaying them. | 
setting | Serialize entities in a Setting context. | 
setting_group | Serialize entities in a SettingGroup context. | 
urls | Serialize the url fields of every entity. | 
walker | Serializes a treeWalker children. | 
walker_metadata | Serializes a treeWalker metadata. | 
children | Serializes a node along with its children using a treeWalker. | 
user | Serialize entities in a User context. | 
user_group | Serialize User entity with its groups. | 
user_role | Serialize User entity with its roles. | 
user_personal | Serialize User entity with its personal information. | 
user_identifier | Serialize User entity with its identifier (may be a personal information). | 
