What is the best way to use requests and iopipe on gzipped JSON file
Andrew Edwards
edwards.ac at gmail.com
Fri Oct 13 20:30:24 UTC 2017
On Friday, 13 October 2017 at 20:17:50 UTC, Steven Schveighoffer
wrote:
> On 10/13/17 3:17 PM, Steven Schveighoffer wrote:
>
>> this should work (something like this really should be in
>> iopipe):
>>
>> while(input.extend(0) != 0) {} // get data until EOF
>
> This should work today, actually. Didn't think about it before.
>
> input.ensureElems(size_t.max);
>
> -Steve
No, it errored out:
std.json.JSONException at std/json.d(1400): Unexpected end of data.
(Line 1:8192)
More information about the Digitalmars-d-learn
mailing list