You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,9 @@
4
4
5
5
ActiveModel::Serializer brings convention over configuration to your JSON generation.
6
6
7
-
AMS does this through tree components: **serializers**, **deserializers** and **adapters**.
8
-
Serializers describe _which_ attributes and relationships should be serialized.
9
-
Adapters describe _how_ attributes and relationships should be serialized.
10
-
Deserializers that uses the Adapter and Serializers to convert the JSON inputs into something ```ActiveRecord``` understands.
7
+
AMS does this through tree components: **serializers** and **adapters**.
8
+
Serializers describe _which_ attributes and relationships should be serialized and deserialized.
9
+
Adapters describe _how_ attributes and relationships should be serialized and deserialized.
11
10
12
11
By default AMS will use the **Flatten Json Adapter**. But we strongly advise you to use **JsonApi Adapter** that follows 1.0 of the format specified in [jsonapi.org/format](http://jsonapi.org/format).
13
12
Check how to change the adapter in the sections bellow.
0 commit comments