logo
logo

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
System.Object
JsonContent
Namespace: Stylelabs.M.Sdk.WebClient.Http
Assembly: Stylelabs.M.Sdk.WebClient.dll
Syntax
public class JsonContent : StringContent

Constructors

JsonContent(Object)

Create new instance of the JsonContent from the given value which will be serialized using json format with applied Stylelabs.M.Sdk.Resources.RestJsonSerializerSettings.

Declaration
public JsonContent(object value)
Parameters
Type Name Description
System.Object value

serializable object

Can we improve this article ? Provide feedback