public override JSAlias <TNative> ReadJson(JsonReader reader, Type objectType, JSAlias <TNative> existingValue, bool hasExistingValue, JsonSerializer serializer) { return(JSAlias <TNative> .New <TAlias>((TNative)reader.Value)); }
public override void WriteJson(JsonWriter writer, JSAlias <TNative> value, JsonSerializer serializer) { writer.WriteValue(value.Value); }