Esempio n. 1
0
 public override void WriteJson(JsonWriter writer, object?value, JsonSerializer serializer)
 {
     if (value == null)
     {
         writer.WriteRawValue("null");
     }
     else
     {
         JsonString obj = (JsonString)value;
         writer.WriteRawValue(obj.ToString());
     }
 }
        public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
        {
            JsonString obj = (JsonString)value;

            writer.WriteRawValue(obj.ToString());
        }