Skip to content

Commit

Permalink
Update docs/formats.md
Browse files Browse the repository at this point in the history
Co-authored-by: Leonid Startsev <[email protected]>
  • Loading branch information
JesusMcCloud and sandwwraith authored Jul 19, 2024
1 parent f970ad7 commit d3d49e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/formats.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ The [`@KeyTags`](Tags.kt) and [`@ValueTags`](Tags.kt) annotations can be used t
writing and verifying such tags can be toggled using the `encodeKeyTags`, `encodeValueTags`, `verifyKeyTags`, and
`verifyValueTags` configuration switches respectively.
In addition, it is possible to directly declare classes to always be tagged.
This then applies to isolated objects of such a tagged class being serialized and to objects of such a class used as
This then applies to all instances of such a tagged class, regardless of whether they are used as values in a list or when they are used as a property in another class.
values in a list, but also or when they are used as a property in another class.
Forcing objects to always be tagged in such a manner is accomplished by the [`@ObjectTags`](Tags.kt) annotation,
which works just as `ValueTags`, but for class definitions.
Expand Down

0 comments on commit d3d49e8

Please sign in to comment.