tiny.zen.renderAscii
Defined in tiny.zen.
Parses a JSONL diagram and returns an owned ASCII result.
Source
Source: lib/zen/src/diagram/ascii/render.zig:39
zig
/// Parses a JSONL diagram and returns an owned ASCII result.pub fn renderJsonl( allocator: std.mem.Allocator, jsonl: []const u8, options: Options,) !Rendered { var document_storage = try root.DocumentStorage.initExact(allocator, jsonl); defer document_storage.deinit(allocator); document_storage.activate(); const document = try root.parse(&document_storage, jsonl); defer document_storage.reset(); return try renderOwned(allocator, document, options);}Source: lib/zen/src/root.zig:81
zig
/// Parses JSONL and returns an owned ASCII render.pub const renderAscii = diagram.renderAscii;Also reachable as
diagram.ascii.renderJsonl, diagram.renderAscii.
Audit
| Definitions | 1 |
|---|---|
| Public names | 3 |
| Members | 0 |
| Version | 26.7.0 |
| Revision | daab053ee433 |