## JsonSerializer::Serialize(System::SharedPtr\<IO::Stream\>, System::SharedPtr\<Object\>, const TypeInfo\&, System::SharedPtr\<Serialization::JsonSerializerContext\>) method




```cpp
static void System::Text::Json::JsonSerializer::Serialize(System::SharedPtr<IO::Stream> utf8Json, System::SharedPtr<Object> value, const TypeInfo &inputType, System::SharedPtr<Serialization::JsonSerializerContext> context)
```

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../../../system.io/stream/)
* Class [Object](../../../system/object/)
* Class [TypeInfo](../../../system/typeinfo/)
* Class [JsonSerializerContext](../../../system.text.json.serialization/jsonserializercontext/)
* Class [JsonSerializer](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.TeX for C++](../../../)
## JsonSerializer::Serialize(System::SharedPtr\<IO::Stream\>, System::SharedPtr\<Object\>, System::SharedPtr\<Serialization::Metadata::JsonTypeInfoBase\>) method




```cpp
static void System::Text::Json::JsonSerializer::Serialize(System::SharedPtr<IO::Stream> utf8Json, System::SharedPtr<Object> value, System::SharedPtr<Serialization::Metadata::JsonTypeInfoBase> jsonTypeInfo)
```

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../../../system.io/stream/)
* Class [Object](../../../system/object/)
* Class [JsonTypeInfoBase](../../../system.text.json.serialization.metadata/jsontypeinfobase/)
* Class [JsonSerializer](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.TeX for C++](../../../)
## JsonSerializer::Serialize(System::SharedPtr\<IO::Stream\>, TValue, System::SharedPtr\<Serialization::Metadata::JsonTypeInfo\<TValue\>\>) method




```cpp
template<typename TValue> static void System::Text::Json::JsonSerializer::Serialize(System::SharedPtr<IO::Stream> utf8Json, TValue value, System::SharedPtr<Serialization::Metadata::JsonTypeInfo<TValue>> jsonTypeInfo)
```

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Stream](../../../system.io/stream/)
* Class [JsonTypeInfo](../../../system.text.json.serialization.metadata/jsontypeinfo/)
* Class [JsonSerializer](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.TeX for C++](../../../)
## JsonSerializer::Serialize(System::SharedPtr\<Object\>, const TypeInfo\&, System::SharedPtr\<Serialization::JsonSerializerContext\>) method




```cpp
static String System::Text::Json::JsonSerializer::Serialize(System::SharedPtr<Object> value, const TypeInfo &inputType, System::SharedPtr<Serialization::JsonSerializerContext> context)
```

## See Also

* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [TypeInfo](../../../system/typeinfo/)
* Class [JsonSerializerContext](../../../system.text.json.serialization/jsonserializercontext/)
* Class [JsonSerializer](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.TeX for C++](../../../)
## JsonSerializer::Serialize(System::SharedPtr\<Object\>, System::SharedPtr\<Serialization::Metadata::JsonTypeInfoBase\>) method




```cpp
static String System::Text::Json::JsonSerializer::Serialize(System::SharedPtr<Object> value, System::SharedPtr<Serialization::Metadata::JsonTypeInfoBase> jsonTypeInfo)
```

## See Also

* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [JsonTypeInfoBase](../../../system.text.json.serialization.metadata/jsontypeinfobase/)
* Class [JsonSerializer](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.TeX for C++](../../../)
## JsonSerializer::Serialize(System::SharedPtr\<Utf8JsonWriter\>, System::SharedPtr\<Object\>, const TypeInfo\&, System::SharedPtr\<Serialization::JsonSerializerContext\>) method




```cpp
static void System::Text::Json::JsonSerializer::Serialize(System::SharedPtr<Utf8JsonWriter> writer, System::SharedPtr<Object> value, const TypeInfo &inputType, System::SharedPtr<Serialization::JsonSerializerContext> context)
```

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Utf8JsonWriter](../../utf8jsonwriter/)
* Class [Object](../../../system/object/)
* Class [TypeInfo](../../../system/typeinfo/)
* Class [JsonSerializerContext](../../../system.text.json.serialization/jsonserializercontext/)
* Class [JsonSerializer](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.TeX for C++](../../../)
## JsonSerializer::Serialize(System::SharedPtr\<Utf8JsonWriter\>, System::SharedPtr\<Object\>, System::SharedPtr\<Serialization::Metadata::JsonTypeInfoBase\>) method




```cpp
static void System::Text::Json::JsonSerializer::Serialize(System::SharedPtr<Utf8JsonWriter> writer, System::SharedPtr<Object> value, System::SharedPtr<Serialization::Metadata::JsonTypeInfoBase> jsonTypeInfo)
```

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Utf8JsonWriter](../../utf8jsonwriter/)
* Class [Object](../../../system/object/)
* Class [JsonTypeInfoBase](../../../system.text.json.serialization.metadata/jsontypeinfobase/)
* Class [JsonSerializer](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.TeX for C++](../../../)
## JsonSerializer::Serialize(System::SharedPtr\<Utf8JsonWriter\>, TValue, System::SharedPtr\<Serialization::Metadata::JsonTypeInfo\<TValue\>\>) method




```cpp
template<typename TValue> static void System::Text::Json::JsonSerializer::Serialize(System::SharedPtr<Utf8JsonWriter> writer, TValue value, System::SharedPtr<Serialization::Metadata::JsonTypeInfo<TValue>> jsonTypeInfo)
```

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Utf8JsonWriter](../../utf8jsonwriter/)
* Class [JsonTypeInfo](../../../system.text.json.serialization.metadata/jsontypeinfo/)
* Class [JsonSerializer](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.TeX for C++](../../../)
## JsonSerializer::Serialize(TValue, System::SharedPtr\<JsonSerializerOptions\>) method




```cpp
template<typename TValue> static String System::Text::Json::JsonSerializer::Serialize(TValue value, System::SharedPtr<JsonSerializerOptions> options)
```

## See Also

* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [JsonSerializer](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.TeX for C++](../../../)
## JsonSerializer::Serialize(TValue, System::SharedPtr\<Serialization::Metadata::JsonTypeInfo\<TValue\>\>) method




```cpp
template<typename TValue> static String System::Text::Json::JsonSerializer::Serialize(TValue value, System::SharedPtr<Serialization::Metadata::JsonTypeInfo<TValue>> jsonTypeInfo)
```

## See Also

* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [JsonTypeInfo](../../../system.text.json.serialization.metadata/jsontypeinfo/)
* Class [JsonSerializer](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.TeX for C++](../../../)
