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.
- class JsonWebServiceContent<TValue>
- class JsonWebServiceContent
- namespace Faithlife.WebRequests.Json
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.
- class JsonWebServiceContent<TValue>
- class JsonWebServiceContent
- namespace Faithlife.WebRequests.Json