Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 9c2a8ad

Browse files
committed
Update README.md
1 parent ffd83a6 commit 9c2a8ad

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,11 @@ ServiceStack.Text APIs for deserializing arbitrary JSON requires specifying the
157157
[#Script](https://sharpscript.net/) implementation of JavaScript.
158158

159159
```csharp
160-
JSON.parse("1") //= int 1
161-
JSON.parse("1.1") //= double 1.1
162-
JSON.parse("'a'") //= string "a"
163-
JSON.parse("{a:1}") //= new Dictionary<string, object> { {"a", 1 } }
160+
JSON.parse("1") //= int 1
161+
JSON.parse("1.1") //= double 1.1
162+
JSON.parse("'a'") //= string "a"
163+
JSON.parse("{a:1}") //= new Dictionary<string, object> { {"a", 1 } }
164+
JSON.parse("[{a:1}]") //= new List<object> { new Dictionary<string, object> { { "a", 1 } } }
164165
```
165166

166167
#### Eval

0 commit comments

Comments
 (0)