You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I didn't see anything mentioned in the documentation, but is it possible to evaluate the json path on a reader, or can you only evaluate the path on a byte array/string? I took a look at the cli code and it looks like the whole file must be read into memory first before it evaluates the expression on it. Is there any way around this?
Thanks
The text was updated successfully, but these errors were encountered:
JSON path (jp) can only be used on a data that is in memory and not on a reader. If you are loading a log file or any file that has multiple JSON objects in it then it is possible to evaluate the JSON path against each as it is loaded. I use that quite often with the oj command when dealing with multiple GB files composed of multiple JSON elements.
I didn't see anything mentioned in the documentation, but is it possible to evaluate the json path on a reader, or can you only evaluate the path on a byte array/string? I took a look at the cli code and it looks like the whole file must be read into memory first before it evaluates the expression on it. Is there any way around this?
Thanks
The text was updated successfully, but these errors were encountered: