10 Commits

Author SHA1 Message Date
Eric
e67f7e4b04
deserialize seq[T] and Option[T] from string (#9) 2024-02-14 15:42:42 +11:00
Eric
a2cca7788b
deserialize non-prefixed stuint (#10) 2024-02-14 15:40:32 +11:00
Eric
b04435fb88
Change parseJson to JsonNode.parse (#4)
* Change parseJson to JsonNode.parse

Exporting `parseJson` causes symbol clashes in downstream repos that import std/json, so changing the signature completely avoid this clash.

* Fix usages of parseJson, update README
2024-02-09 11:08:14 +11:00
Eric
1b77afcbf1
Fix deserialization of openArray[byte] (#2) 2024-02-09 10:33:14 +11:00
Eric
681f32aba6
chore: format using nph 2024-02-08 09:18:55 +11:00
Eric
d877872127
Add prettified option for toJson 2024-02-08 08:09:14 +11:00
Eric
f8260e9154
Update readme 2024-02-07 18:03:17 +11:00
Eric
92f7f7e6c5
Move modules into json folder, to make way for other types of serde 2024-02-07 14:44:13 +11:00
Eric
e15c8b71d7
Renamed serialize and deserialize to avoid clash with pramgas
Working 0.1.0!
2024-02-07 13:41:37 +11:00
Eric
d0a67a8eb0
initial impl, not compiling 2024-02-07 09:40:48 +11:00