Skip to content

Commit

Permalink
GH-401: Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikfroehling authored Apr 1, 2023
1 parent 1ba7177 commit f469787
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ try
Console.WriteLine($"Year: {show.Year}");
Console.WriteLine();

string json = await TraktSerializationService.SerializeAsync(show);
string json = await TraktSerializationService.SerializeAsync(show, true);
Console.WriteLine(json);
}
catch (TraktException ex)
Expand All @@ -70,9 +70,19 @@ catch (TraktException ex)
```

Output:
```
```json
Title: The Last of Us
Year: 2023

{"title":"The Last of Us","year":2023,"ids":{"trakt":158947,"slug":"the-last-of-us","tvdb":392256,"imdb":"tt3581920","tmdb":100088}}
{
"title": "The Last of Us",
"year": 2023,
"ids": {
"trakt": 158947,
"slug": "the-last-of-us",
"tvdb": 392256,
"imdb": "tt3581920",
"tmdb": 100088
}
}
```

0 comments on commit f469787

Please sign in to comment.