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

## Utf8JsonWriter::WriteNumber(JsonEncodedText, Decimal) method




```cpp
void System::Text::Json::Utf8JsonWriter::WriteNumber(JsonEncodedText propertyName, Decimal value)
```

## See Also

* Class [JsonEncodedText](../../jsonencodedtext/)
* Class [Decimal](../../../system/decimal/)
* Class [Utf8JsonWriter](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
## Utf8JsonWriter::WriteNumber(JsonEncodedText, double) method




```cpp
void System::Text::Json::Utf8JsonWriter::WriteNumber(JsonEncodedText propertyName, double value)
```

## See Also

* Class [JsonEncodedText](../../jsonencodedtext/)
* Class [Utf8JsonWriter](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
## Utf8JsonWriter::WriteNumber(JsonEncodedText, float) method




```cpp
void System::Text::Json::Utf8JsonWriter::WriteNumber(JsonEncodedText propertyName, float value)
```

## See Also

* Class [JsonEncodedText](../../jsonencodedtext/)
* Class [Utf8JsonWriter](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
## Utf8JsonWriter::WriteNumber(JsonEncodedText, int32_t) method




```cpp
void System::Text::Json::Utf8JsonWriter::WriteNumber(JsonEncodedText propertyName, int32_t value)
```

## See Also

* Class [JsonEncodedText](../../jsonencodedtext/)
* Class [Utf8JsonWriter](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
## Utf8JsonWriter::WriteNumber(JsonEncodedText, int64_t) method




```cpp
void System::Text::Json::Utf8JsonWriter::WriteNumber(JsonEncodedText propertyName, int64_t value)
```

## See Also

* Class [JsonEncodedText](../../jsonencodedtext/)
* Class [Utf8JsonWriter](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
## Utf8JsonWriter::WriteNumber(JsonEncodedText, uint32_t) method




```cpp
void System::Text::Json::Utf8JsonWriter::WriteNumber(JsonEncodedText propertyName, uint32_t value)
```

## See Also

* Class [JsonEncodedText](../../jsonencodedtext/)
* Class [Utf8JsonWriter](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
## Utf8JsonWriter::WriteNumber(JsonEncodedText, uint64_t) method




```cpp
void System::Text::Json::Utf8JsonWriter::WriteNumber(JsonEncodedText propertyName, uint64_t value)
```

## See Also

* Class [JsonEncodedText](../../jsonencodedtext/)
* Class [Utf8JsonWriter](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
## Utf8JsonWriter::WriteNumber(ReadOnlySpan\<char16_t\>, Decimal) method




```cpp
void System::Text::Json::Utf8JsonWriter::WriteNumber(ReadOnlySpan<char16_t> propertyName, Decimal value)
```

## See Also

* Class [ReadOnlySpan](../../../system/readonlyspan/)
* Class [Decimal](../../../system/decimal/)
* Class [Utf8JsonWriter](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
## Utf8JsonWriter::WriteNumber(ReadOnlySpan\<char16_t\>, double) method




```cpp
void System::Text::Json::Utf8JsonWriter::WriteNumber(ReadOnlySpan<char16_t> propertyName, double value)
```

## See Also

* Class [ReadOnlySpan](../../../system/readonlyspan/)
* Class [Utf8JsonWriter](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
## Utf8JsonWriter::WriteNumber(ReadOnlySpan\<char16_t\>, float) method




```cpp
void System::Text::Json::Utf8JsonWriter::WriteNumber(ReadOnlySpan<char16_t> propertyName, float value)
```

## See Also

* Class [ReadOnlySpan](../../../system/readonlyspan/)
* Class [Utf8JsonWriter](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
## Utf8JsonWriter::WriteNumber(ReadOnlySpan\<char16_t\>, int32_t) method




```cpp
void System::Text::Json::Utf8JsonWriter::WriteNumber(ReadOnlySpan<char16_t> propertyName, int32_t value)
```

## See Also

* Class [ReadOnlySpan](../../../system/readonlyspan/)
* Class [Utf8JsonWriter](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
## Utf8JsonWriter::WriteNumber(ReadOnlySpan\<char16_t\>, int64_t) method




```cpp
void System::Text::Json::Utf8JsonWriter::WriteNumber(ReadOnlySpan<char16_t> propertyName, int64_t value)
```

## See Also

* Class [ReadOnlySpan](../../../system/readonlyspan/)
* Class [Utf8JsonWriter](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
## Utf8JsonWriter::WriteNumber(ReadOnlySpan\<char16_t\>, uint32_t) method




```cpp
void System::Text::Json::Utf8JsonWriter::WriteNumber(ReadOnlySpan<char16_t> propertyName, uint32_t value)
```

## See Also

* Class [ReadOnlySpan](../../../system/readonlyspan/)
* Class [Utf8JsonWriter](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
## Utf8JsonWriter::WriteNumber(ReadOnlySpan\<char16_t\>, uint64_t) method




```cpp
void System::Text::Json::Utf8JsonWriter::WriteNumber(ReadOnlySpan<char16_t> propertyName, uint64_t value)
```

## See Also

* Class [ReadOnlySpan](../../../system/readonlyspan/)
* Class [Utf8JsonWriter](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
## Utf8JsonWriter::WriteNumber(ReadOnlySpan\<uint8_t\>, Decimal) method




```cpp
void System::Text::Json::Utf8JsonWriter::WriteNumber(ReadOnlySpan<uint8_t> utf8PropertyName, Decimal value)
```

## See Also

* Class [ReadOnlySpan](../../../system/readonlyspan/)
* Class [Decimal](../../../system/decimal/)
* Class [Utf8JsonWriter](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
## Utf8JsonWriter::WriteNumber(ReadOnlySpan\<uint8_t\>, double) method




```cpp
void System::Text::Json::Utf8JsonWriter::WriteNumber(ReadOnlySpan<uint8_t> utf8PropertyName, double value)
```

## See Also

* Class [ReadOnlySpan](../../../system/readonlyspan/)
* Class [Utf8JsonWriter](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
## Utf8JsonWriter::WriteNumber(ReadOnlySpan\<uint8_t\>, float) method




```cpp
void System::Text::Json::Utf8JsonWriter::WriteNumber(ReadOnlySpan<uint8_t> utf8PropertyName, float value)
```

## See Also

* Class [ReadOnlySpan](../../../system/readonlyspan/)
* Class [Utf8JsonWriter](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
## Utf8JsonWriter::WriteNumber(ReadOnlySpan\<uint8_t\>, int32_t) method




```cpp
void System::Text::Json::Utf8JsonWriter::WriteNumber(ReadOnlySpan<uint8_t> utf8PropertyName, int32_t value)
```

## See Also

* Class [ReadOnlySpan](../../../system/readonlyspan/)
* Class [Utf8JsonWriter](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
## Utf8JsonWriter::WriteNumber(ReadOnlySpan\<uint8_t\>, int64_t) method




```cpp
void System::Text::Json::Utf8JsonWriter::WriteNumber(ReadOnlySpan<uint8_t> utf8PropertyName, int64_t value)
```

## See Also

* Class [ReadOnlySpan](../../../system/readonlyspan/)
* Class [Utf8JsonWriter](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
## Utf8JsonWriter::WriteNumber(ReadOnlySpan\<uint8_t\>, uint32_t) method




```cpp
void System::Text::Json::Utf8JsonWriter::WriteNumber(ReadOnlySpan<uint8_t> utf8PropertyName, uint32_t value)
```

## See Also

* Class [ReadOnlySpan](../../../system/readonlyspan/)
* Class [Utf8JsonWriter](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
## Utf8JsonWriter::WriteNumber(ReadOnlySpan\<uint8_t\>, uint64_t) method




```cpp
void System::Text::Json::Utf8JsonWriter::WriteNumber(ReadOnlySpan<uint8_t> utf8PropertyName, uint64_t value)
```

## See Also

* Class [ReadOnlySpan](../../../system/readonlyspan/)
* Class [Utf8JsonWriter](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
## Utf8JsonWriter::WriteNumber(String, Decimal) method




```cpp
void System::Text::Json::Utf8JsonWriter::WriteNumber(String propertyName, Decimal value)
```

## See Also

* Class [String](../../../system/string/)
* Class [Decimal](../../../system/decimal/)
* Class [Utf8JsonWriter](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
## Utf8JsonWriter::WriteNumber(String, double) method




```cpp
void System::Text::Json::Utf8JsonWriter::WriteNumber(String propertyName, double value)
```

## See Also

* Class [String](../../../system/string/)
* Class [Utf8JsonWriter](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
## Utf8JsonWriter::WriteNumber(String, float) method




```cpp
void System::Text::Json::Utf8JsonWriter::WriteNumber(String propertyName, float value)
```

## See Also

* Class [String](../../../system/string/)
* Class [Utf8JsonWriter](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
## Utf8JsonWriter::WriteNumber(String, int32_t) method




```cpp
void System::Text::Json::Utf8JsonWriter::WriteNumber(String propertyName, int32_t value)
```

## See Also

* Class [String](../../../system/string/)
* Class [Utf8JsonWriter](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
## Utf8JsonWriter::WriteNumber(String, int64_t) method




```cpp
void System::Text::Json::Utf8JsonWriter::WriteNumber(String propertyName, int64_t value)
```

## See Also

* Class [String](../../../system/string/)
* Class [Utf8JsonWriter](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
## Utf8JsonWriter::WriteNumber(String, uint32_t) method




```cpp
void System::Text::Json::Utf8JsonWriter::WriteNumber(String propertyName, uint32_t value)
```

## See Also

* Class [String](../../../system/string/)
* Class [Utf8JsonWriter](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
## Utf8JsonWriter::WriteNumber(String, uint64_t) method




```cpp
void System::Text::Json::Utf8JsonWriter::WriteNumber(String propertyName, uint64_t value)
```

## See Also

* Class [String](../../../system/string/)
* Class [Utf8JsonWriter](../)
* Namespace [System::Text::Json](../../)
* Library [Aspose.PDF for C++](../../../)
