Videos
JSON Parser: parse JSON of any dimension from any source
Siemens JSON parser
Yet another JSON parser, this time constexpr and without variants
Judging from this subreddit the natural order of learning to program is Hello World, FizzBuzz, followed by a JSON parser.
More on reddit.comTsoding - JSON Parser 100% From Scratch in Haskell
Β» npm install json-parser
Hello everybody, I'm quite happy to share that I finally released JSON Parser, a PHP package that can parse JSON of any dimension and from any source in a memory-efficient way.
Despite being framework-agnostic, it supports several JSON sources including Laravel HTTP client requests and responses, making it a breeze to parse JSON endpoints while saving memory.
This package leverages generators to keep only one key and value in memory at a time. It can recursively do this for larger JSONs as well.
It also provides pointers to extract only the necessary sub-trees instead of reading all the JSON.
If your app works with JSON, this package can help you save a significant amount of memory as it consumes only a few KB of memory, regardless of the JSON size.
Feel free to check it out and let me know what you think! :)
https://github.com/cerbero90/json-parser