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

## Utf8JsonReader::CopyString(Span\<char16_t\>) method




```cpp
int32_t System::Text::Json::Utf8JsonReader::CopyString(Span<char16_t> destination)
```

## See Also

* Class [Span](../../../system/span/)
* Class [Utf8JsonReader](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
## Utf8JsonReader::CopyString(Span\<uint8_t\>) method




```cpp
int32_t System::Text::Json::Utf8JsonReader::CopyString(Span<uint8_t> utf8Destination)
```

## See Also

* Class [Span](../../../system/span/)
* Class [Utf8JsonReader](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
