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

## Utf8JsonWriterCache::RentWriter method




```cpp
static System::SharedPtr<Utf8JsonWriter> System::Text::Json::Utf8JsonWriterCache::RentWriter(System::SharedPtr<JsonSerializerOptions> options, System::SharedPtr<Buffers::IBufferWriter<uint8_t>> bufferWriter)
```

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Utf8JsonWriter](../../utf8jsonwriter/)
* Class [JsonSerializerOptions](../../jsonserializeroptions/)
* Class [IBufferWriter](../../../system.buffers/ibufferwriter/)
* Class [Utf8JsonWriterCache](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
