|
|
|
|
|
by marginalia_nu
957 days ago
|
|
A fundamental problem with JSON parsing is that it has variable length fields that don't encode their length, in a streaming scenario you basically need to keep resizing your buffer until the data fits. If the data is on disk and not streaming you may get away with reading ahead to find the end of the field first, but that's also not particularly fast. Schemas can't fix that. |
|
I'll definitely agree that most things won't fully take advantage of that even if you provide that information, but it is definitely possible to do so.