Crates.io | pjson_parser |
lib.rs | pjson_parser |
version | 0.1.0 |
source | src |
created_at | 2019-06-12 22:26:13.074705 |
updated_at | 2019-06-12 22:26:13.074705 |
description | JSON Parser implementation |
homepage | https://github.com/PerfectEngineering/pjson_parser |
repository | https://github.com/PerfectEngineering/pjson_parser |
max_upload_size | |
id | 140699 |
size | 19,451 |
Not to be used in production, it is purely for learning rust and how its library system works. you can through the codebase to learn a few things too.
This is a JSON Parser implementation. Its primary function is to parse a JSON string into an Intermediate Token Structure or deserialized into a struct (this part is yet to be implemented).
Also, it can handle parsing bignumber's because it parses Numbers into strings (which can later be deserialized/coerced into whatever type the struct defines for that field).
Currently one possible drawback is that the parsing is implemented using recursion, which mean it is not ideal for deeply nested JSON object parsing, other than this, it is fine.