Skip to content

Commit

Permalink
update snapshots
Browse files Browse the repository at this point in the history
  • Loading branch information
jonaslagoni committed Jul 27, 2024
1 parent 75a245e commit 2cdd2f7
Showing 1 changed file with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,6 @@ public partial class Root
get { return email; }
set { this.email = value; }
}
public string Serialize()
{
return this.Serialize(null);
}
public string Serialize(JsonSerializerOptions options = null)
return JsonSerializer.Serialize(this, options);
}
public static Root Deserialize(string json)
{
var deserializeOptions = new JsonSerializerOptions();
deserializeOptions.Converters.Add(new RootConverter());
return JsonSerializer.Deserialize<Root>(json, deserializeOptions);
}
}
internal class RootConverter : JsonConverter<Root>
Expand Down

0 comments on commit 2cdd2f7

Please sign in to comment.