---
title: "System::Text::Json::DataType enum"
url: "https://reference.aspose.com/pdf/cpp/system.text.json/datatype/"
product: "Aspose.PDF for C++ API Reference"
description: "How to use System::Text::Json::DataType enum in C++."
---

## DataType enum




```cpp
enum class DataType
```

### Values

| Name | Value | Description |
| --- | --- | --- |
| Boolean | 0 |  |
| DateOnly | 1 |  |
| DateTime | 2 |  |
| DateTimeOffset | 3 |  |
| TimeOnly | 4 |  |
| TimeSpan | 5 |  |
| Base64String | 6 |  |
| Guid | 7 |  |
| Version | 8 |  |

## See Also

* Namespace [System::Text::Json](../)
* Library [Aspose.PDF for C++](../../)
