Re: [Development] State of "binary JSON" in 5.15+?

2021-04-13 Thread Thiago Macieira
On Tuesday, 13 April 2021 19:11:51 PDT Stottlemyer, Brett (B.S.) wrote: > Yes, small but reparsing isn't negligible. The idea is to cache (to disk) a > number of files, and when run, the application dynamically picks the right > files to use. I am caching in RAM as well, once the files are parsed,

Re: [Development] State of "binary JSON" in 5.15+?

2021-04-13 Thread Stottlemyer, Brett (B.S.)
On 4/13/21, 5:23 PM, "Development on behalf of Thiago Macieira" wrote: 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 ne

Re: [Development] State of "binary JSON" in 5.15+?

2021-04-13 Thread Thiago Macieira
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 > re

Re: [Development] State of "binary JSON" in 5.15+?

2021-04-13 Thread Mårten Nordheim
Hey Brett, It's in the qt5compat library (https://code.qt.io/cgit/qt/qt5compat.git/tree/src/core5/serialization) Mårten From: Development on behalf of Stottlemyer, Brett (B.S.) Sent: Tuesday, April 13, 2021 21:20 To: Macieira, Thiago; development@qt-p

Re: [Development] State of "binary JSON" in 5.15+?

2021-04-13 Thread Stottlemyer, Brett (B.S.)
On Tuesday, 13 April 2021 07:29:48 PDT Lars Knoll wrote: The binary JSON support is deprecated and only there for backwards compatibility. It had some issues (e.g. it couldn’t handle large JSON files), that’s why we deprecated it. It’s gone in Qt 6. I guess the docs need some adjus

Re: [Development] State of "binary JSON" in 5.15+?

2021-04-13 Thread Thiago Macieira
On Tuesday, 13 April 2021 07:29:48 PDT Lars Knoll wrote: > The binary JSON support is deprecated and only there for backwards > compatibility. It had some issues (e.g. it couldn’t handle large JSON > files), that’s why we deprecated it. It’s gone in Qt 6. I guess the docs > need some adjustment tho

Re: [Development] State of "binary JSON" in 5.15+?

2021-04-13 Thread Lars Knoll
Hi Brett, The binary JSON support is deprecated and only there for backwards compatibility. It had some issues (e.g. it couldn’t handle large JSON files), that’s why we deprecated it. It’s gone in Qt 6. I guess the docs need some adjustment though. Cheers, Lars On 13 Apr 2021, at 15:43, Stott

[Development] State of "binary JSON" in 5.15+?

2021-04-13 Thread Stottlemyer, Brett (B.S.)
Hi, I was at the Contributor’s Summit where it was discussed, so I know there were good reasons to deprecate the binary json format. The actual changes looks to have been done in https://codereview.qt-project.org/c/qt/qtbase/+/265312. IIUC, the original intent was that parsing the JSON creates

[Development] Qt 6.2 initial schedule & FF preparations

2021-04-13 Thread Jani Heikkinen
Hi All, Even Qt 6.1 RC isn't out yet it is time to start preparations for Qt 6.2 as well. Initial Qt 6.2 schedule (which is already visible in https://wiki.qt.io/Qt_6.2_Release): - Feature Freeze 4th June 2021 - Alpha release 15th June 2021 - Beta1 release 6th July 2021 - RC 14th September 202