Creates a new instance of the JsonWebServiceContent class from a value to be serialized.
public static JsonWebServiceContent<TValue> FromValue<TValue>(TValue value)
parameter | description |
---|---|
TValue | The type of the value. |
value | The value. |
The new instance.
Creates a new instance of the JsonWebServiceContent class from a value to be serialized.
public static JsonWebServiceContent<TValue> FromValue<TValue>(TValue value, JsonSettings? settings)
parameter | description |
---|---|
TValue | The type of the value. |
value | The value. |
settings | The settings. |
The new instance.