Class JsonContent
Simple extension of the to allow for a simple creation of the from the objects serialized with the json (Stylelabs.M.Sdk.Resources.RestJsonSerializerSettings are applied).
Inheritance
object
JsonContent
Namespace: StylelabsStylelabs.MSdkWebClientHttp
Assembly: Stylelabs.M.Sdk.WebClient.dll
Syntax
RequestResponse
public class JsonContent : StringContent
Constructors
JsonContent(object)
Initializes a new instance of the JsonContent class from the
given value
which will be serialized using json
format with applied Stylelabs.M.Sdk.Resources.RestJsonSerializerSettings.
Declaration
RequestResponse
public JsonContent(object value)
Parameters
Type | Name | Description |
---|---|---|
object | value |
serializable object. |