---
title: "Class JsonContent"
slug: "web-sdk--stylelabs.m.sdk.webclient.http.jsoncontent"
abstract: ""
---
# 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

```csharp
public class JsonContent : StringContent
```

## Constructors

### JsonContent(object)

Initializes a new instance of the [JsonContent](https://doc.sitecore.com/ch/en/developers/api-reference/web-sdk--stylelabs.m.sdk.webclient.http.jsoncontent.html) class from the given `value` which will be serialized using json format with applied Stylelabs.M.Sdk.Resources.RestJsonSerializerSettings.

#### Declaration

```csharp
public JsonContent(object value)
```

#### Parameters

| Type | Name | Description |
| --- | --- | --- |
| object | value | serializable object. |
