[Development] State of "binary JSON" in 5.15+?
thiago.macieira at intel.com
Tue Apr 13 23:22:06 CEST 2021
On Tuesday, 13 April 2021 12:20:49 PDT Stottlemyer, Brett (B.S.) wrote:
> The 128 MB piece isn't an issue for my specific case, I will have smaller
> files than that. I was hoping there was an easy way to cache the REST
> response locally, where I may load the data many times before I need to
> refresh the cache. In this case, additional storage is worthwhile is it
> improves the parsing time and memory allocation. I'd be interested in
> seeing if QBinaryJsonDocument is applicable, but I can't find it. Can I
> trouble you for a link?
Are you sure you can't just use a memory cache?
Your requirement sounds that your JSON snippet is small enough that it will
not hit the 128 MB limit any time soon but large enough that reparsing it is
not negligible. Is that it?
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel DPG Cloud Engineering
More information about the Development