Skip to content

Commit

Permalink
fix readme example
Browse files Browse the repository at this point in the history
  • Loading branch information
Havunen committed Mar 21, 2023
1 parent 9d9ffed commit 58df50d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ JsonPatchDocument<DTO.Expense> expensePatch = new JsonPatchDocument<DTO.Expense>
expensePatch.Replace(e => e.Description, expense.Description);

// serialize it to JSON
var expensePatchJson = JsonConvert.SerializeObject(expensePatch);
var expensePatchJson = System.Text.Json.JsonSerializer.Serialize(expensePatch);
```


Expand Down

0 comments on commit 58df50d

Please sign in to comment.