Types
JsonReader = LoadReader
- reader implementation used in the default read hook implementations Source Edit
JsonReaderArg = var JsonReader
-
reader implementation used in the default read hook implementation signatures
implementing type has to match API in https://holo-nim.github.io/flue/docs/reader_api
Source Edit JsonReaderImplementation = enum JsonLoadReader = "load", ## default, allows streaming JsonTrackedLoadReader = "tracked-load", ## same as load reader but allows line/column tracking JsonViewReader = "view", ## only allows reading from constant strings JsonTrackedViewReader = "tracked-view", ## same as view reader but allows line/column tracking JsonGenericReader = "generic" ## defines hooks on generic wildcard type
- Source Edit
Consts
holoJsonReaderImpl {.define.}: JsonReaderImplementation = JsonLoadReader
- Source Edit
Procs
proc initJsonReader(doLineColumn = holoJsonLineColumn): JsonReader {.inline, ...raises: [], tags: [], forbids: [].}
- Source Edit
Templates
template supportsLineColumn(reader: JsonReaderArg): bool
- Source Edit