Filters data from the specified object.
public T FilterObject<T>(T value)
parameter | description |
---|---|
T | The type of the object. |
value | The object instance. |
A new object with the specified data filtered.
This method converts the object to JSON, filtering out data as appropriate, and then converts the filtered JSON back into an object.
Filters data from the specified object.
public T FilterObject<T>(T value, JsonSettings? settings)
parameter | description |
---|---|
T | The type of the object. |
value | The object instance. |
settings | The settings used when reading/writing JSON. |
A new object with the specified data filtered.
This method converts the object to JSON, filtering out data as appropriate, and then converts the filtered JSON back into an object.