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

## Utf8JsonWriter::WriteStringValueSegment(ReadOnlySpan\<char16_t\>, bool) method




```cpp
void System::Text::Json::Utf8JsonWriter::WriteStringValueSegment(ReadOnlySpan<char16_t> value, bool isFinalSegment)
```

## See Also

* Class [ReadOnlySpan](../../../system/readonlyspan/)
* Class [Utf8JsonWriter](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
## Utf8JsonWriter::WriteStringValueSegment(ReadOnlySpan\<uint8_t\>, bool) method




```cpp
void System::Text::Json::Utf8JsonWriter::WriteStringValueSegment(ReadOnlySpan<uint8_t> value, bool isFinalSegment)
```

## See Also

* Class [ReadOnlySpan](../../../system/readonlyspan/)
* Class [Utf8JsonWriter](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
