Provides procs for serializing Nim data types to JSON format.
proc toJson(b: bool; tree: var JsonTree) {....raises: [], tags: [], forbids: [].}
proc toJson(s: string; tree: var JsonTree) {....raises: [], tags: [], forbids: [].}
proc toJson(value: JsonTree; tree: var JsonTree) {....raises: [], tags: [], forbids: [].}
proc toJson[T: enum](o: T; tree: var JsonTree)
proc toJson[T: object](o: T; tree: var JsonTree)
proc toJson[T: SomeFloat](n: T; tree: var JsonTree)
proc toJson[T: SomeInteger](n: T; tree: var JsonTree)
proc toJson[T](elements: openArray[T]; tree: var JsonTree)
proc toJson[T](o: ref T; tree: var JsonTree)
proc toJson[T](opt: Option[T]; tree: var JsonTree)
proc toJson[T](table: Table[string, T] | OrderedTable[string, T]; tree: var JsonTree)
proc toJson[T](x: T): JsonTree
macro `%*`(x: untyped): untyped