Hi.
Mia mentioned in https://www.mail-archive.com/[email protected]/msg46543.html
is there another solution for JSON reading based on
https://github.com/ibireme/yyjson/ instead of the current used mjson lib.
This library looks nice but have some points which I would like to discuss.
+ yyjson looks active maintained vs mjson which looks stalled
+ in yyjson is JSON Path build in instead of handcrafted JSON Query in mjson
- yyjoon looks much bigger then mjson
That's the Idea of an Roadmap to remove mjson from HAProxy:
* My suggestion is to add yyjson and samples for JSON Path similar to JSON Query
and announce the new feature..
* Add some helper functions for JSON Query to JSON Path translation.
Luckily in HAProxy isn't the JSON Query really "just" some '$.GET_VALUE"'
Stuff.
* Replace mjson calls with yyjson calls.
* Make JSON Query deprecated.
* Remove mjson from HAProxy code.
My questions for a good integration of yyjson into HAProxy.
Which Memory management handling (pool, dynbuf) can I use based on the doc of
yyjson?
https://github.com/ibireme/yyjson/blob/master/doc/API.md#memory-allocator
What's your opinion on that?
Regards
Aleks