C#C
C#13mo ago
nathanAjacobs

CommunityToolkit.MVVM ObservableProperty and JsonIgnore

I have an observable property like so:

[ObservableProperty]
private string _online;


Is there any way to specify that the generated property be ignored for json serialization?
Was this page helpful?