nim-json-serialization/json_serialization.nim

17 lines
409 B
Nim
Raw Normal View History

import
serialization, json_serialization/[reader, writer]
export
serialization, reader, writer
2018-11-10 02:16:09 +02:00
2018-12-18 01:01:06 +02:00
serializationFormat Json,
Reader = JsonReader,
Writer = JsonWriter,
PreferedOutput = string,
mimeType = "application/json"
template supports*(_: type Json, T: type): bool =
# The JSON format should support every type
true