Our great sponsors
-
You should probably now go and compare how your solution compares to existing solutions. The one in the standard library might not actually be the best one to compare with here, though. You may want to compare with simplejson (https://github.com/simplejson/simplejson/blob/master/simplejson/decoder.py), which is a little, well, simpler, if a little less optimised.
-
Lark
Lark is a parsing toolkit for Python, built with a focus on ergonomics, performance and modularity.
Writing parsers by hand is fun, but it's much easier to use a parser: https://github.com/lark-parser/lark/blob/master/examples/json_parser.py
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
Related posts
-
utype VS pydantic - a user suggested alternative
2 projects | 15 Feb 2024
- Is it possible to propagate higher level constructs (+, *) to the generated parse tree in an LR-style parser?
- can you create your own program language in python, if yes how?
- Lark a Python lexer/parser library
- Ask HN: Will we see a TypeScript for Python?