From f7c8f83669c4e65768403ec97ed174fb0ab6bdd5 Mon Sep 17 00:00:00 2001 From: Mark Knutsen Date: Wed, 12 Feb 2020 15:51:42 -0500 Subject: [PATCH] Make "Serialized Output" match the example --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) 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" + } } } }