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

## ThrowHelper::ThrowJsonException_UnrecognizedTypeDiscriminator method




```cpp
static void System::Text::Json::ThrowHelper::ThrowJsonException_UnrecognizedTypeDiscriminator(System::SharedPtr<Object> typeDiscriminator)
```

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [Object](../../../system/object/)
* Class [ThrowHelper](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
