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

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