implements dumping behavior for basic types
Procs
proc dump(format: JsonDumpFormat; writer: JsonWriterArg; v: bool) {.inline, ...raises: [Exception], tags: [RootEffect], forbids: [].}
- Source Edit
proc dump(format: JsonDumpFormat; writer: JsonWriterArg; v: char) {. ...raises: [Exception], tags: [RootEffect], forbids: [].}
- Source Edit
proc dump(format: JsonDumpFormat; writer: JsonWriterArg; v: float) {. ...raises: [Exception], tags: [RootEffect], forbids: [].}
- Source Edit
proc dump(format: JsonDumpFormat; writer: JsonWriterArg; v: float32) {. ...raises: [Exception], tags: [RootEffect], forbids: [].}
- Source Edit
proc dump(format: JsonDumpFormat; writer: JsonWriterArg; v: int) {.inline, ...raises: [Exception], tags: [RootEffect], forbids: [].}
- Source Edit
proc dump(format: JsonDumpFormat; writer: JsonWriterArg; v: int8) {.inline, ...raises: [Exception], tags: [RootEffect], forbids: [].}
- Source Edit
proc dump(format: JsonDumpFormat; writer: JsonWriterArg; v: int16) {.inline, ...raises: [Exception], tags: [RootEffect], forbids: [].}
- Source Edit
proc dump(format: JsonDumpFormat; writer: JsonWriterArg; v: int32) {.inline, ...raises: [Exception], tags: [RootEffect], forbids: [].}
- Source Edit
proc dump(format: JsonDumpFormat; writer: JsonWriterArg; v: int64) {.inline, ...raises: [Exception], tags: [RootEffect], forbids: [].}
- Source Edit
proc dump(format: JsonDumpFormat; writer: JsonWriterArg; v: RawJson) {.inline, ...raises: [Exception], tags: [RootEffect], forbids: [].}
- Source Edit
proc dump(format: JsonDumpFormat; writer: JsonWriterArg; v: string) {. ...raises: [Exception, Exception], tags: [RootEffect], forbids: [].}
- Source Edit
proc dump(format: JsonDumpFormat; writer: JsonWriterArg; v: uint) {.inline, ...raises: [Exception], tags: [RootEffect], forbids: [].}
- Source Edit
proc dump(format: JsonDumpFormat; writer: JsonWriterArg; v: uint8) {.inline, ...raises: [Exception], tags: [RootEffect], forbids: [].}
- Source Edit
proc dump(format: JsonDumpFormat; writer: JsonWriterArg; v: uint16) {.inline, ...raises: [Exception], tags: [RootEffect], forbids: [].}
- Source Edit
proc dump(format: JsonDumpFormat; writer: JsonWriterArg; v: uint32) {.inline, ...raises: [Exception], tags: [RootEffect], forbids: [].}
- Source Edit
proc dump(format: JsonDumpFormat; writer: JsonWriterArg; v: uint64) {.inline, ...raises: [Exception], tags: [RootEffect], forbids: [].}
- Source Edit
proc dump[N, T](format: JsonDumpFormat; writer: JsonWriterArg; v: array[N, tuple[a: string, b: T]])
- Source Edit
proc dump[N, T](format: JsonDumpFormat; writer: JsonWriterArg; v: array[N, T])
- Source Edit
proc dump[T: distinct](format: JsonDumpFormat; writer: JsonWriterArg; v: T) {. inline.}
- Source Edit
proc dump[T: enum](format: JsonDumpFormat; writer: JsonWriterArg; v: T) {.inline.}
- Source Edit
proc dump[T: object](format: JsonDumpFormat; writer: JsonWriterArg; v: T)
- Source Edit
proc dump[T: tuple](format: JsonDumpFormat; writer: JsonWriterArg; v: T)
- Source Edit
proc dump[T](format: JsonDumpFormat; s: var string; v: T) {.inline.}
- Source Edit
proc dump[T](format: JsonDumpFormat; writer: JsonWriterArg; v: ref T) {.inline.}
- Source Edit
proc dump[T](format: JsonDumpFormat; writer: JsonWriterArg; v: seq[T])
- Source Edit
proc dumpJson[T](writer: JsonWriterArg; v: T) {.inline.}
- Source Edit
Templates
template toStaticJson(v: untyped): static[string]
- This will turn v into json at compile time and return the json string. Source Edit