1. Stylelabs.M.Sdk.WebClient.Http

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

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

public JsonContent(object value)

Parameters

TypeNameDescription
objectvalueserializable object.
If you have suggestions for improving this article, let us know!