Hiiii, replying to the archive, hopefully it works
It could be helpful to understand why this lib needs to allocate RAM when others do not.
It is due to the fact that the API is DOM based, while mjson is SAX like, in other words yyjson allocates structure that represents document tree, while mjson is just a glorified tokenizer. It is in their plans to support StAX API, but nothing ready yet. See: https://github.com/ibireme/yyjson/issues/33 https://github.com/ibireme/yyjson/issues/219 Note that it already supports incremental (chunked) reader with DOM: https://github.com/ibireme/yyjson/pull/199 Allocation was my concern too, they allow custom allocators though. StAX API would be worth looking for. Overall I just wanted to tell that that library exists, to integrate it if mjson parsing speed ever becomes a concern, integrating it right now wouldn't be productive in my opinion. One place I think it could be useful is to provide it as an API for Lua, json parsing is important enough to have in the core, and json documents can be sometimes quite big, but integrating it just for that isn't worth it IMO.
I didn't notice
:')

