diff --git a/README.md b/README.md index f36a22a3..5a16648d 100644 --- a/README.md +++ b/README.md @@ -150,6 +150,10 @@ json_string = MovieSerializer.new(movie).serialized_json { "id": "2", "type": "actor" + }, + { + "id": "3", + "type": "actor" } ] }, @@ -158,6 +162,12 @@ json_string = MovieSerializer.new(movie).serialized_json "id": "3", "type": "user" } + }, + "movie_type": { + "data": { + "id": "1", + "type": "movie_type" + } } } }