holo_json/dump_stdlib

Source   Edit  

dump hooks for stdlib types

Procs

proc dump(format: JsonDumpFormat; writer: JsonWriterArg; v: JsonNode) {.
    ...raises: [Exception], tags: [RootEffect], forbids: [].}
Dumps a regular json node. Source   Edit  
proc dump[K: not (string | enum); V](format: JsonDumpFormat;
                                     writer: JsonWriterArg;
                                     tab: OrderedTable[K, V])
Dump a normal table. Source   Edit  
proc dump[K: not (string | enum); V](format: JsonDumpFormat;
                                     writer: JsonWriterArg; tab: Table[K, V])
Dump a normal table. Source   Edit  
proc dump[K: not (string | enum)](format: JsonDumpFormat; writer: JsonWriterArg;
                                  tab: CountTable[K])
Dump a normal table. Source   Edit  
proc dump[K: string | enum; V](format: JsonDumpFormat; writer: JsonWriterArg;
                               tab: OrderedTable[K, V])
Dump an object. Source   Edit  
proc dump[K: string | enum; V](format: JsonDumpFormat; writer: JsonWriterArg;
                               tab: Table[K, V])
Dump an object. Source   Edit  
proc dump[K: string | enum](format: JsonDumpFormat; writer: JsonWriterArg;
                            tab: CountTable[K])
Dump an object. Source   Edit  
proc dump[T](format: JsonDumpFormat; writer: JsonWriterArg; v: HashSet[T])
Source   Edit  
proc dump[T](format: JsonDumpFormat; writer: JsonWriterArg; v: Option[T]) {.
    inline.}
Source   Edit  
proc dump[T](format: JsonDumpFormat; writer: JsonWriterArg; v: OrderedSet[T])
Source   Edit  
proc dump[T](format: JsonDumpFormat; writer: JsonWriterArg; v: set[T])
Source   Edit