berdon / zig-json

Simple zig JSON parsing library with a focus on friendly API.
MIT License
27 stars 9 forks source link

Feature: Support parsing stdin #8

Open berdon opened 6 months ago

berdon commented 6 months ago

The latest change, adding in file support, was a massive incremental step getting the parser to use std.io.StreamSource instead of a []u8 (actually a wrapper around it). The next step is to drop all seekBy and seekTo calls which should enable parsing from stdin.