Reading Json array from very large file

80 views
Skip to first unread message

Paul Antinori

unread,
Feb 17, 2021, 1:43:57 PM2/17/21
to vert.x
Is there an API to read from a file that has Json array contents in a entry by entry iteration, instead of loading the entire file into memory as a JsonArray?  We want to try reading each entry in the array one at a time as a JsonObject, like a FileIterator.  Does this API exist already?

Thomas SEGISMONT

unread,
Feb 18, 2021, 3:45:07 AM2/18/21
to vert.x

Le mer. 17 févr. 2021 à 19:44, Paul Antinori <pant...@gmail.com> a écrit :
Is there an API to read from a file that has Json array contents in a entry by entry iteration, instead of loading the entire file into memory as a JsonArray?  We want to try reading each entry in the array one at a time as a JsonObject, like a FileIterator.  Does this API exist already?

--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/vertx/c98305e0-73f5-4c48-8439-b89f77f37615n%40googlegroups.com.

Paul Antinori

unread,
Feb 19, 2021, 9:37:25 AM2/19/21
to vert.x
Thank you.
Reply all
Reply to author
Forward
0 new messages