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

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