Skip to content

Commit e978034

Browse files
committed
update
Signed-off-by: George Lemon <georgelemon@protonmail.com>
1 parent 23527fc commit e978034

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import openparser/json
3434
3535
let data = """{"name":"Albush","age":40,"address":{"street":"456 Elm St","city":"Othertown","zip":67890},"friends":[]}"""
3636
37-
let jsonNode: JsonNode = fromJson(data)
37+
let jsonNode: JsonNode = fromJson(data, Person)
3838
echo jsonNode["name"].getStr # Albush
3939
echo jsonNode["age"].getInt # 40
4040
```

openparser.nimble

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
version = "0.1.0"
44
author = "George Lemon"
5-
description = "A new awesome nimble package"
5+
description = "Tiny parsers and serializers for JSON, CSV, RSS, Atom feeds and more"
66
license = "MIT"
77
srcDir = "src"
88

0 commit comments

Comments
 (0)