Commit 698c52e796

Marc Tiehuis <marctiehuis@gmail.com>
2018-05-22 05:32:17
Make StreamingJsonParser public
1 parent bfbe267
Changed files (1)
std/json.zig
@@ -86,7 +86,7 @@ pub const Token = struct {
 // parsing state requires ~40-50 bytes of stack space.
 //
 // Conforms strictly to RFC8529.
-const StreamingJsonParser = struct {
+pub const StreamingJsonParser = struct {
     // Current state
     state: State,
     // How many bytes we have counted for the current token