blob: 23f0ea8af28ca027d07b2acc06ec0970adea2fd3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
const std = @import("std");
const parse = @import("parse.zig");
const decode = @import("decode.zig");
const Value = @import("../value.zig").Value;
pub fn fromReader(
alloc: std.mem.Allocator,
io: std.Io,
reader: *std.Io.Reader,
) Value {
return decode.decode(parse.fromReader(alloc, io, reader));
}
|