---
title: "System::Text::Json::Nodes::JsonNode::ToJsonString method"
url: "https://reference.aspose.com/pdf/cpp/system.text.json.nodes/jsonnode/tojsonstring/"
product: "Aspose.PDF for C++ API Reference"
description: "How to use ToJsonString method of System::Text::Json::Nodes::JsonNode class in C++."
---

## JsonNode::ToJsonString method




```cpp
String System::Text::Json::Nodes::JsonNode::ToJsonString(System::SharedPtr<JsonSerializerOptions> options=nullptr)
```

## See Also

* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [JsonSerializerOptions](../../../system.text.json/jsonserializeroptions/)
* Class [JsonNode](../)
* Namespace [System::Text::Json::Nodes](../../)
* Library [Aspose.PDF for C++](../../../)
