Skip to content

Commit

Permalink
Fix JsonConverter docs example (#1193)
Browse files Browse the repository at this point in the history
Closes #1194
  • Loading branch information
feinstein committed Aug 28, 2022
1 parent 5c26a0a commit 10dd2ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions json_annotation/lib/src/json_converter.dart
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
/// [JsonConverter]s can be placed either on the class:
///
/// ```dart
/// class MyConverter extends JsonConverter<Value, JSON> {
/// class MyJsonConverter extends JsonConverter<Value, JSON> {
/// // TODO
/// }
///
Expand All @@ -36,7 +36,7 @@
/// Or finally, passed to the annotation:
///
///```dart
/// @JsonSerializable(converters: [MyConverter()])
/// @JsonSerializable(converters: [MyJsonConverter()])
/// class Example {}
/// ```
abstract class JsonConverter<T, S> {
Expand Down

0 comments on commit 10dd2ee

Please sign in to comment.