Types
JsonWriter = IndentFlushWriter
- writer implementation used in the default dump hook implementations Source Edit
JsonWriterArg = var JsonWriter
-
writer implementation used in the default dump hook implementation signatures
implementing type has to match API in https://holo-nim.github.io/fleu/docs/writer_api
Source Edit JsonWriterImplementation = enum JsonFlushWriter = "flush", JsonIndentFlushWriter = "indent-flush", ## tracks indent for optional pretty printing JsonGenericWriter = "generic"
- Source Edit
Consts
holoJsonWriterImpl {.define.}: JsonWriterImplementation = JsonIndentFlushWriter
- Source Edit
Procs
proc initJsonWriter(): JsonWriter {.inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
Templates
template supportsIndent(writer: JsonWriterArg): bool
- whether or not the writer supports indent tracking for pretty printing Source Edit