From aea3aec86b22e4fb116c845bffefada91576f678 Mon Sep 17 00:00:00 2001 From: Lacc Date: Mon, 16 Nov 2020 07:52:08 +0000 Subject: [PATCH] Update README.md Fix type in searchable names (part 1) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 16c6930..6e07226 100644 --- a/README.md +++ b/README.md @@ -575,7 +575,7 @@ var person = new Person var stream2 = new MemoryStream(); var ser2 = new DataContractJsonSerializer(typeof(Person)); -ser2.WriteObject(stream2, data); +ser2.WriteObject(stream2, person); stream2.Position = 0; var sr2 = new StreamReader(stream2);