Skip to content

Commit 3553f94

Browse files
committed
Typo
1 parent 6c31427 commit 3553f94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ Use the `DisplayDebugInformation` function to display the debug info in other en
238238

239239
## Property names
240240

241-
To change the way the property name are serialzied, you can configure the `JsonOptions` and change the `PropertyNamingPolicy` property.
241+
To change the way the property name are serialized, you can configure the `JsonOptions` and change the `PropertyNamingPolicy` property.
242242

243243
**.NET 8+**
244244

@@ -260,7 +260,7 @@ builder.Services.Configure<JsonOptions>(options => {
260260

261261
For .NET 7+ projects, ExceptionMapper sets the `DictionaryKeyPolicy` property to the `PropertyNamingPolicy` property value so dictionaries are serialized the same way as the normal properties.
262262

263-
## Ensuring a property is not serialzied
263+
## Ensuring a property is not serialized
264264

265265
If your custom exception has properties that should not be serialized, you can mark them with the `[JsonIgnore]` attribute, like the following and the serializer will ignore them:
266266

0 commit comments

Comments
 (0)