diff --git a/json_serialization/reader.nim b/json_serialization/reader.nim index 1038292..aea7f79 100644 --- a/json_serialization/reader.nim +++ b/json_serialization/reader.nim @@ -455,9 +455,6 @@ proc readValue*[T](r: var JsonReader, value: var T) value = r.lexer.strVal r.lexer.next() - elif value is TaintedString: - value = TaintedString r.readValue(string) - elif value is seq[char]: r.requireToken tkString value.setLen(r.lexer.strVal.len) diff --git a/json_serialization/writer.nim b/json_serialization/writer.nim index 5989031..a90646e 100644 --- a/json_serialization/writer.nim +++ b/json_serialization/writer.nim @@ -192,9 +192,6 @@ proc writeValue*(w: var JsonWriter, value: auto) = append '"' - elif value is TaintedString: - writeValue(w, string value) - elif value is bool: append if value: "true" else: "false"