---
title: "System::Text::Json::WriteStack::Initialize method"
url: "https://reference.aspose.com/pdf/cpp/system.text.json/writestack/initialize/"
product: "Aspose.PDF for C++ API Reference"
description: "How to use Initialize method of System::Text::Json::WriteStack class in C++."
---

## WriteStack::Initialize method




```cpp
void System::Text::Json::WriteStack::Initialize(System::SharedPtr<Serialization::Metadata::JsonTypeInfoBase> jsonTypeInfo, System::SharedPtr<Object> rootValueBoxed=nullptr, bool supportContinuation=false)
```

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [JsonTypeInfoBase](../../../system.text.json.serialization.metadata/jsontypeinfobase/)
* Class [WriteStack](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
