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

## ThrowHelper::ThrowJsonReaderException method




```cpp
static void System::Text::Json::ThrowHelper::ThrowJsonReaderException(Utf8JsonReader &json, ExceptionResource resource, uint8_t nextByte=System::Default<uint8_t>(), ReadOnlySpan<uint8_t> bytes=System::Default<System::ReadOnlySpan<uint8_t>>())
```

## See Also

* Class [Utf8JsonReader](../../utf8jsonreader/)
* Enum [ExceptionResource](../../exceptionresource/)
* Class [ReadOnlySpan](../../../system/readonlyspan/)
* Class [ThrowHelper](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
