Utf8JsonWriter.WriteNumber 메서드

정의

오버로드

Name Description
WriteNumber(String, Int32)

문자열 Int32 로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

WriteNumber(String, Int64)

문자열 Int64 로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

WriteNumber(String, Single)

문자열 Single 로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

WriteNumber(String, UInt32)

문자열 UInt32 로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

WriteNumber(String, UInt64)

문자열 UInt64 로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

WriteNumber(JsonEncodedText, Single)

미리 인코딩된 속성 이름 및 Single 값(JSON 번호)을 JSON 개체의 이름/값 쌍의 일부로 씁니다.

WriteNumber(JsonEncodedText, Double)

미리 인코딩된 속성 이름 및 Double 값(JSON 번호)을 JSON 개체의 이름/값 쌍의 일부로 씁니다.

WriteNumber(JsonEncodedText, Int32)

미리 인코딩된 속성 이름 및 Int32 값(JSON 번호)을 JSON 개체의 이름/값 쌍의 일부로 씁니다.

WriteNumber(JsonEncodedText, Int64)

미리 인코딩된 속성 이름 및 Int64 값(JSON 번호)을 JSON 개체의 이름/값 쌍의 일부로 씁니다.

WriteNumber(String, Double)

문자열 Double 로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

WriteNumber(JsonEncodedText, UInt32)

미리 인코딩된 속성 이름 및 UInt32 값(JSON 번호)을 JSON 개체의 이름/값 쌍의 일부로 씁니다.

WriteNumber(JsonEncodedText, Decimal)

미리 인코딩된 속성 이름 및 Decimal 값(JSON 번호)을 JSON 개체의 이름/값 쌍의 일부로 씁니다.

WriteNumber(String, Decimal)

문자열 Decimal 로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

WriteNumber(JsonEncodedText, UInt64)

미리 인코딩된 속성 이름 및 UInt64 값(JSON 번호)을 JSON 개체의 이름/값 쌍의 일부로 씁니다.

WriteNumber(ReadOnlySpan<Char>, UInt32)

읽기 전용 문자 범위 UInt32 로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

WriteNumber(ReadOnlySpan<Byte>, Decimal)

읽기 전용 바이트 Decimal 범위로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

WriteNumber(ReadOnlySpan<Byte>, Double)

읽기 전용 바이트 Double 범위로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

WriteNumber(ReadOnlySpan<Byte>, Int32)

읽기 전용 바이트 Int32 범위로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

WriteNumber(ReadOnlySpan<Byte>, Int64)

읽기 전용 바이트 Int64 범위로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

WriteNumber(ReadOnlySpan<Byte>, UInt32)

읽기 전용 바이트 UInt32 범위로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

WriteNumber(ReadOnlySpan<Byte>, Single)

읽기 전용 바이트 Single 범위로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

WriteNumber(ReadOnlySpan<Char>, Decimal)

읽기 전용 문자 범위 Decimal 로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

WriteNumber(ReadOnlySpan<Char>, Double)

읽기 전용 문자 범위 Double 로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

WriteNumber(ReadOnlySpan<Char>, Int32)

읽기 전용 문자 범위 Int32 로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

WriteNumber(ReadOnlySpan<Char>, Int64)

읽기 전용 문자 범위 Int64 로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

WriteNumber(ReadOnlySpan<Char>, Single)

읽기 전용 문자 범위 Single 로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

WriteNumber(ReadOnlySpan<Byte>, UInt64)

읽기 전용 바이트 UInt64 범위로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

WriteNumber(ReadOnlySpan<Char>, UInt64)

읽기 전용 문자 범위 UInt64 로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

WriteNumber(String, Int32)

Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs

문자열 Int32 로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

public:
 void WriteNumber(System::String ^ propertyName, int value);
public void WriteNumber(string propertyName, int value);
member this.WriteNumber : string * int -> unit
Public Sub WriteNumber (propertyName As String, value As Integer)

매개 변수

propertyName
String

코드 변환 및 UTF-8로 작성할 JSON 개체의 UTF-16 인코딩된 속성 이름입니다.

value
Int32

이름/값 쌍의 일부로 JSON 번호로 작성할 값입니다.

예외

지정한 속성 이름이 너무 큽합니다.

유효성 검사가 활성화되고 쓰기 작업에서 잘못된 JSON이 생성됩니다.

매개 변수는 propertyName .입니다 null.

설명

using 기본 Int32StandardFormat (예: 'G')을 씁니다(예: 32767).

속성 이름은 쓰기 전에 이스케이프됩니다.

적용 대상

WriteNumber(String, Int64)

Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs

문자열 Int64 로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

public:
 void WriteNumber(System::String ^ propertyName, long value);
public void WriteNumber(string propertyName, long value);
member this.WriteNumber : string * int64 -> unit
Public Sub WriteNumber (propertyName As String, value As Long)

매개 변수

propertyName
String

코드 변환 및 UTF-8로 작성할 JSON 개체의 UTF-16 인코딩된 속성 이름입니다.

value
Int64

이름/값 쌍의 일부로 JSON 번호로 작성할 값입니다.

예외

지정한 속성 이름이 너무 큽합니다.

유효성 검사가 활성화되고 쓰기 작업에서 잘못된 JSON이 생성됩니다.

매개 변수는 propertyName .입니다 null.

설명

using 기본 Int64StandardFormat (예: 'G')을 씁니다(예: 32767).

속성 이름은 쓰기 전에 이스케이프됩니다.

적용 대상

WriteNumber(String, Single)

Source:
Utf8JsonWriter.WriteProperties.Float.cs
Source:
Utf8JsonWriter.WriteProperties.Float.cs
Source:
Utf8JsonWriter.WriteProperties.Float.cs
Source:
Utf8JsonWriter.WriteProperties.Float.cs
Source:
Utf8JsonWriter.WriteProperties.Float.cs
Source:
Utf8JsonWriter.WriteProperties.Float.cs
Source:
Utf8JsonWriter.WriteProperties.Float.cs

문자열 Single 로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

public:
 void WriteNumber(System::String ^ propertyName, float value);
public void WriteNumber(string propertyName, float value);
member this.WriteNumber : string * single -> unit
Public Sub WriteNumber (propertyName As String, value As Single)

매개 변수

propertyName
String

코드 변환 및 UTF-8로 작성할 JSON 개체의 UTF-16 인코딩된 속성 이름입니다.

value
Single

이름/값 쌍의 일부로 JSON 번호로 작성할 값입니다.

예외

지정한 속성 이름이 너무 큽합니다.

유효성 검사가 활성화되고 쓰기 작업에서 잘못된 JSON이 생성됩니다.

매개 변수는 propertyName .입니다 null.

설명

이 메서드는 다음 형식을 Single 사용하여 값을 씁니다.

  • .NET Core 3.0 이상 버전에서는 기본값 StandardFormat (즉, 'G')입니다.
  • 다른 모든 프레임워크에서는 'G9'입니다.

속성 이름은 쓰기 전에 이스케이프됩니다.

적용 대상

WriteNumber(String, UInt32)

Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs

Important

이 API는 CLS 규격이 아닙니다.

문자열 UInt32 로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

public:
 void WriteNumber(System::String ^ propertyName, System::UInt32 value);
[System.CLSCompliant(false)]
public void WriteNumber(string propertyName, uint value);
[<System.CLSCompliant(false)>]
member this.WriteNumber : string * uint32 -> unit
Public Sub WriteNumber (propertyName As String, value As UInteger)

매개 변수

propertyName
String

코드 변환 및 UTF-8로 작성할 JSON 개체의 UTF-16 인코딩된 속성 이름입니다.

value
UInt32

이름/값 쌍의 일부로 JSON 번호로 작성할 값입니다.

특성

예외

지정한 속성 이름이 너무 큽합니다.

유효성 검사가 활성화되고 쓰기 작업에서 잘못된 JSON이 생성됩니다.

매개 변수는 propertyName .입니다 null.

설명

using 기본 UInt32StandardFormat (예: 'G')을 씁니다(예: 32767).

속성 이름은 쓰기 전에 이스케이프됩니다.

적용 대상

WriteNumber(String, UInt64)

Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs

Important

이 API는 CLS 규격이 아닙니다.

문자열 UInt64 로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

public:
 void WriteNumber(System::String ^ propertyName, System::UInt64 value);
[System.CLSCompliant(false)]
public void WriteNumber(string propertyName, ulong value);
[<System.CLSCompliant(false)>]
member this.WriteNumber : string * uint64 -> unit
Public Sub WriteNumber (propertyName As String, value As ULong)

매개 변수

propertyName
String

코드 변환 및 UTF-8로 작성할 JSON 개체의 UTF-16 인코딩된 속성 이름입니다.

value
UInt64

이름/값 쌍의 일부로 JSON 번호로 작성할 값입니다.

특성

예외

지정한 속성 이름이 너무 큽합니다.

유효성 검사가 활성화되고 쓰기 작업에서 잘못된 JSON이 생성됩니다.

매개 변수는 propertyName .입니다 null.

설명

using 기본 UInt64StandardFormat (예: 'G')을 씁니다(예: 32767).

속성 이름은 쓰기 전에 이스케이프됩니다.

적용 대상

WriteNumber(JsonEncodedText, Single)

Source:
Utf8JsonWriter.WriteProperties.Float.cs
Source:
Utf8JsonWriter.WriteProperties.Float.cs
Source:
Utf8JsonWriter.WriteProperties.Float.cs
Source:
Utf8JsonWriter.WriteProperties.Float.cs
Source:
Utf8JsonWriter.WriteProperties.Float.cs
Source:
Utf8JsonWriter.WriteProperties.Float.cs
Source:
Utf8JsonWriter.WriteProperties.Float.cs

미리 인코딩된 속성 이름 및 Single 값(JSON 번호)을 JSON 개체의 이름/값 쌍의 일부로 씁니다.

public:
 void WriteNumber(System::Text::Json::JsonEncodedText propertyName, float value);
public void WriteNumber(System.Text.Json.JsonEncodedText propertyName, float value);
member this.WriteNumber : System.Text.Json.JsonEncodedText * single -> unit
Public Sub WriteNumber (propertyName As JsonEncodedText, value As Single)

매개 변수

propertyName
JsonEncodedText

코드 변환 및 UTF-8로 작성할 JSON 개체의 JSON 인코딩된 속성 이름입니다.

value
Single

이름/값 쌍의 일부로 JSON 번호로 작성할 값입니다.

예외

유효성 검사를 사용하도록 설정하면 이 메서드로 인해 잘못된 JSON을 작성할 수 있습니다.

설명

이 메서드는 다음 형식을 Single 사용하여 값을 씁니다.

  • .NET Core 3.0 이상 버전에서는 기본값 StandardFormat (즉, 'G')입니다.
  • 다른 모든 프레임워크에서는 'G9'입니다.

인스턴스 JsonEncodedText 를 만들 때 속성 이름은 이미 이스케이프되어야 합니다.

적용 대상

WriteNumber(JsonEncodedText, Double)

Source:
Utf8JsonWriter.WriteProperties.Double.cs
Source:
Utf8JsonWriter.WriteProperties.Double.cs
Source:
Utf8JsonWriter.WriteProperties.Double.cs
Source:
Utf8JsonWriter.WriteProperties.Double.cs
Source:
Utf8JsonWriter.WriteProperties.Double.cs
Source:
Utf8JsonWriter.WriteProperties.Double.cs
Source:
Utf8JsonWriter.WriteProperties.Double.cs

미리 인코딩된 속성 이름 및 Double 값(JSON 번호)을 JSON 개체의 이름/값 쌍의 일부로 씁니다.

public:
 void WriteNumber(System::Text::Json::JsonEncodedText propertyName, double value);
public void WriteNumber(System.Text.Json.JsonEncodedText propertyName, double value);
member this.WriteNumber : System.Text.Json.JsonEncodedText * double -> unit
Public Sub WriteNumber (propertyName As JsonEncodedText, value As Double)

매개 변수

propertyName
JsonEncodedText

코드 변환 및 UTF-8로 작성할 JSON 개체의 JSON 인코딩된 속성 이름입니다.

value
Double

이름/값 쌍의 일부로 JSON 번호로 작성할 값입니다.

예외

유효성 검사를 사용하도록 설정하면 이 메서드로 인해 잘못된 JSON을 작성할 수 있습니다.

설명

이 메서드는 다음 형식을 Double 사용하여 값을 씁니다.

  • .NET Core 3.0 이상 버전에서는 기본값 StandardFormat (즉, 'G')입니다.
  • 다른 모든 프레임워크에서는 'G17'입니다.

인스턴스 JsonEncodedText 를 만들 때 속성 이름은 이미 이스케이프되어야 합니다.

적용 대상

WriteNumber(JsonEncodedText, Int32)

Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs

미리 인코딩된 속성 이름 및 Int32 값(JSON 번호)을 JSON 개체의 이름/값 쌍의 일부로 씁니다.

public:
 void WriteNumber(System::Text::Json::JsonEncodedText propertyName, int value);
public void WriteNumber(System.Text.Json.JsonEncodedText propertyName, int value);
member this.WriteNumber : System.Text.Json.JsonEncodedText * int -> unit
Public Sub WriteNumber (propertyName As JsonEncodedText, value As Integer)

매개 변수

propertyName
JsonEncodedText

코드 변환 및 UTF-8로 작성할 JSON 개체의 JSON 인코딩된 속성 이름입니다.

value
Int32

이름/값 쌍의 일부로 JSON 번호로 작성할 값입니다.

예외

유효성 검사를 사용하도록 설정하면 이 메서드로 인해 잘못된 JSON을 작성할 수 있습니다.

설명

using 기본 Int32StandardFormat (예: 'G')을 씁니다(예: 32767).

인스턴스 JsonEncodedText 를 만들 때 속성 이름은 이미 이스케이프되어야 합니다.

적용 대상

WriteNumber(JsonEncodedText, Int64)

Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs

미리 인코딩된 속성 이름 및 Int64 값(JSON 번호)을 JSON 개체의 이름/값 쌍의 일부로 씁니다.

public:
 void WriteNumber(System::Text::Json::JsonEncodedText propertyName, long value);
public void WriteNumber(System.Text.Json.JsonEncodedText propertyName, long value);
member this.WriteNumber : System.Text.Json.JsonEncodedText * int64 -> unit
Public Sub WriteNumber (propertyName As JsonEncodedText, value As Long)

매개 변수

propertyName
JsonEncodedText

코드 변환 및 UTF-8로 작성할 JSON 개체의 JSON 인코딩된 속성 이름입니다.

value
Int64

이름/값 쌍의 일부로 JSON 번호로 작성할 값입니다.

예외

유효성 검사를 사용하도록 설정하면 이 메서드로 인해 잘못된 JSON을 작성할 수 있습니다.

설명

Int64 기본값 StandardFormat 인 'G'(예: 32767)를 사용합니다.

인스턴스 JsonEncodedText 를 만들 때 속성 이름은 이미 이스케이프되어야 합니다.

적용 대상

WriteNumber(String, Double)

Source:
Utf8JsonWriter.WriteProperties.Double.cs
Source:
Utf8JsonWriter.WriteProperties.Double.cs
Source:
Utf8JsonWriter.WriteProperties.Double.cs
Source:
Utf8JsonWriter.WriteProperties.Double.cs
Source:
Utf8JsonWriter.WriteProperties.Double.cs
Source:
Utf8JsonWriter.WriteProperties.Double.cs
Source:
Utf8JsonWriter.WriteProperties.Double.cs

문자열 Double 로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

public:
 void WriteNumber(System::String ^ propertyName, double value);
public void WriteNumber(string propertyName, double value);
member this.WriteNumber : string * double -> unit
Public Sub WriteNumber (propertyName As String, value As Double)

매개 변수

propertyName
String

코드 변환 및 UTF-8로 작성할 JSON 개체의 UTF-16 인코딩된 속성 이름입니다.

value
Double

이름/값 쌍의 일부로 JSON 번호로 작성할 값입니다.

예외

지정한 속성 이름이 너무 큽합니다.

유효성 검사가 활성화되고 쓰기 작업에서 잘못된 JSON이 생성됩니다.

매개 변수는 propertyName .입니다 null.

설명

이 메서드는 다음 형식을 Double 사용하여 값을 씁니다.

  • .NET Core 3.0 이상 버전에서는 기본값 StandardFormat (즉, 'G')입니다.
  • 다른 모든 프레임워크에서는 'G17'입니다.

속성 이름은 쓰기 전에 이스케이프됩니다.

적용 대상

WriteNumber(JsonEncodedText, UInt32)

Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs

Important

이 API는 CLS 규격이 아닙니다.

미리 인코딩된 속성 이름 및 UInt32 값(JSON 번호)을 JSON 개체의 이름/값 쌍의 일부로 씁니다.

public:
 void WriteNumber(System::Text::Json::JsonEncodedText propertyName, System::UInt32 value);
[System.CLSCompliant(false)]
public void WriteNumber(System.Text.Json.JsonEncodedText propertyName, uint value);
[<System.CLSCompliant(false)>]
member this.WriteNumber : System.Text.Json.JsonEncodedText * uint32 -> unit
Public Sub WriteNumber (propertyName As JsonEncodedText, value As UInteger)

매개 변수

propertyName
JsonEncodedText

코드 변환 및 UTF-8로 작성할 JSON 개체의 JSON 인코딩된 속성 이름입니다.

value
UInt32

이름/값 쌍의 일부로 JSON 번호로 작성할 값입니다.

특성

예외

유효성 검사를 사용하도록 설정하면 이 메서드로 인해 잘못된 JSON을 작성할 수 있습니다.

설명

using 기본 UInt32StandardFormat (예: 'G')을 씁니다(예: 32767).

인스턴스 JsonEncodedText 를 만들 때 속성 이름은 이미 이스케이프되어야 합니다.

적용 대상

WriteNumber(JsonEncodedText, Decimal)

Source:
Utf8JsonWriter.WriteProperties.Decimal.cs
Source:
Utf8JsonWriter.WriteProperties.Decimal.cs
Source:
Utf8JsonWriter.WriteProperties.Decimal.cs
Source:
Utf8JsonWriter.WriteProperties.Decimal.cs
Source:
Utf8JsonWriter.WriteProperties.Decimal.cs
Source:
Utf8JsonWriter.WriteProperties.Decimal.cs
Source:
Utf8JsonWriter.WriteProperties.Decimal.cs

미리 인코딩된 속성 이름 및 Decimal 값(JSON 번호)을 JSON 개체의 이름/값 쌍의 일부로 씁니다.

public:
 void WriteNumber(System::Text::Json::JsonEncodedText propertyName, System::Decimal value);
public void WriteNumber(System.Text.Json.JsonEncodedText propertyName, decimal value);
member this.WriteNumber : System.Text.Json.JsonEncodedText * decimal -> unit
Public Sub WriteNumber (propertyName As JsonEncodedText, value As Decimal)

매개 변수

propertyName
JsonEncodedText

코드 변환 및 UTF-8로 작성할 JSON 개체의 JSON 인코딩된 속성 이름입니다.

value
Decimal

이름/값 쌍의 일부로 JSON 번호로 작성할 값입니다.

예외

유효성 검사를 사용하도록 설정하면 이 메서드로 인해 잘못된 JSON을 작성할 수 있습니다.

설명

using 기본 DecimalStandardFormat (즉, 'G')을 씁니다.

인스턴스 JsonEncodedText 를 만들 때 속성 이름은 이미 이스케이프되어야 합니다.

적용 대상

WriteNumber(String, Decimal)

Source:
Utf8JsonWriter.WriteProperties.Decimal.cs
Source:
Utf8JsonWriter.WriteProperties.Decimal.cs
Source:
Utf8JsonWriter.WriteProperties.Decimal.cs
Source:
Utf8JsonWriter.WriteProperties.Decimal.cs
Source:
Utf8JsonWriter.WriteProperties.Decimal.cs
Source:
Utf8JsonWriter.WriteProperties.Decimal.cs
Source:
Utf8JsonWriter.WriteProperties.Decimal.cs

문자열 Decimal 로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

public:
 void WriteNumber(System::String ^ propertyName, System::Decimal value);
public void WriteNumber(string propertyName, decimal value);
member this.WriteNumber : string * decimal -> unit
Public Sub WriteNumber (propertyName As String, value As Decimal)

매개 변수

propertyName
String

코드 변환 및 UTF-8로 작성할 JSON 개체의 UTF-16 인코딩된 속성 이름입니다.

value
Decimal

이름/값 쌍의 일부로 JSON 번호로 작성할 값입니다.

예외

지정한 속성 이름이 너무 큽합니다.

유효성 검사가 활성화되고 쓰기 작업에서 잘못된 JSON이 생성됩니다.

매개 변수는 propertyName .입니다 null.

설명

using 기본 DecimalStandardFormat (즉, 'G')을 씁니다.

속성 이름은 쓰기 전에 이스케이프됩니다.

적용 대상

WriteNumber(JsonEncodedText, UInt64)

Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs

Important

이 API는 CLS 규격이 아닙니다.

미리 인코딩된 속성 이름 및 UInt64 값(JSON 번호)을 JSON 개체의 이름/값 쌍의 일부로 씁니다.

public:
 void WriteNumber(System::Text::Json::JsonEncodedText propertyName, System::UInt64 value);
[System.CLSCompliant(false)]
public void WriteNumber(System.Text.Json.JsonEncodedText propertyName, ulong value);
[<System.CLSCompliant(false)>]
member this.WriteNumber : System.Text.Json.JsonEncodedText * uint64 -> unit
Public Sub WriteNumber (propertyName As JsonEncodedText, value As ULong)

매개 변수

propertyName
JsonEncodedText

코드 변환 및 UTF-8로 작성할 JSON 개체의 JSON 인코딩된 속성 이름입니다.

value
UInt64

이름/값 쌍의 일부로 JSON 번호로 작성할 값입니다.

특성

예외

유효성 검사를 사용하도록 설정하면 이 메서드로 인해 잘못된 JSON을 작성할 수 있습니다.

설명

using 기본 UInt64StandardFormat (예: 'G')을 씁니다(예: 32767).

인스턴스 JsonEncodedText 를 만들 때 속성 이름은 이미 이스케이프되어야 합니다.

적용 대상

WriteNumber(ReadOnlySpan<Char>, UInt32)

Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs

Important

이 API는 CLS 규격이 아닙니다.

읽기 전용 문자 범위 UInt32 로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

public:
 void WriteNumber(ReadOnlySpan<char> propertyName, System::UInt32 value);
[System.CLSCompliant(false)]
public void WriteNumber(ReadOnlySpan<char> propertyName, uint value);
[<System.CLSCompliant(false)>]
member this.WriteNumber : ReadOnlySpan<char> * uint32 -> unit
Public Sub WriteNumber (propertyName As ReadOnlySpan(Of Char), value As UInteger)

매개 변수

propertyName
ReadOnlySpan<Char>

코드 변환 및 UTF-8로 작성할 JSON 개체의 UTF-16 인코딩된 속성 이름입니다.

value
UInt32

이름/값 쌍의 일부로 JSON 번호로 작성할 값입니다.

특성

예외

지정한 속성 이름이 너무 큽합니다.

유효성 검사가 활성화되고 쓰기 작업에서 잘못된 JSON이 생성됩니다.

설명

using 기본 UInt32StandardFormat (예: 'G')을 씁니다(예: 32767).

속성 이름은 쓰기 전에 이스케이프됩니다.

적용 대상

WriteNumber(ReadOnlySpan<Byte>, Decimal)

Source:
Utf8JsonWriter.WriteProperties.Decimal.cs
Source:
Utf8JsonWriter.WriteProperties.Decimal.cs
Source:
Utf8JsonWriter.WriteProperties.Decimal.cs
Source:
Utf8JsonWriter.WriteProperties.Decimal.cs
Source:
Utf8JsonWriter.WriteProperties.Decimal.cs
Source:
Utf8JsonWriter.WriteProperties.Decimal.cs
Source:
Utf8JsonWriter.WriteProperties.Decimal.cs

읽기 전용 바이트 Decimal 범위로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

public:
 void WriteNumber(ReadOnlySpan<System::Byte> utf8PropertyName, System::Decimal value);
public void WriteNumber(ReadOnlySpan<byte> utf8PropertyName, decimal value);
member this.WriteNumber : ReadOnlySpan<byte> * decimal -> unit
Public Sub WriteNumber (utf8PropertyName As ReadOnlySpan(Of Byte), value As Decimal)

매개 변수

utf8PropertyName
ReadOnlySpan<Byte>

쓸 JSON 개체의 UTF-8로 인코딩된 속성 이름입니다.

value
Decimal

이름/값 쌍의 일부로 JSON 번호로 작성할 값입니다.

예외

지정한 속성 이름이 너무 큽합니다.

유효성 검사가 활성화되고 쓰기 작업에서 잘못된 JSON이 생성됩니다.

설명

using 기본 DecimalStandardFormat (즉, 'G')을 씁니다.

속성 이름은 쓰기 전에 이스케이프됩니다.

적용 대상

WriteNumber(ReadOnlySpan<Byte>, Double)

Source:
Utf8JsonWriter.WriteProperties.Double.cs
Source:
Utf8JsonWriter.WriteProperties.Double.cs
Source:
Utf8JsonWriter.WriteProperties.Double.cs
Source:
Utf8JsonWriter.WriteProperties.Double.cs
Source:
Utf8JsonWriter.WriteProperties.Double.cs
Source:
Utf8JsonWriter.WriteProperties.Double.cs
Source:
Utf8JsonWriter.WriteProperties.Double.cs

읽기 전용 바이트 Double 범위로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

public:
 void WriteNumber(ReadOnlySpan<System::Byte> utf8PropertyName, double value);
public void WriteNumber(ReadOnlySpan<byte> utf8PropertyName, double value);
member this.WriteNumber : ReadOnlySpan<byte> * double -> unit
Public Sub WriteNumber (utf8PropertyName As ReadOnlySpan(Of Byte), value As Double)

매개 변수

utf8PropertyName
ReadOnlySpan<Byte>

쓸 JSON 개체의 UTF-8로 인코딩된 속성 이름입니다.

value
Double

이름/값 쌍의 일부로 JSON 번호로 작성할 값입니다.

예외

지정한 속성 이름이 너무 큽합니다.

유효성 검사가 활성화되고 쓰기 작업에서 잘못된 JSON이 생성됩니다.

설명

이 메서드는 다음 형식을 Double 사용하여 값을 씁니다.

  • .NET Core 3.0 이상 버전에서는 기본값 StandardFormat (즉, 'G')입니다.
  • 다른 모든 프레임워크에서는 'G17'입니다.

속성 이름은 쓰기 전에 이스케이프됩니다.

적용 대상

WriteNumber(ReadOnlySpan<Byte>, Int32)

Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs

읽기 전용 바이트 Int32 범위로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

public:
 void WriteNumber(ReadOnlySpan<System::Byte> utf8PropertyName, int value);
public void WriteNumber(ReadOnlySpan<byte> utf8PropertyName, int value);
member this.WriteNumber : ReadOnlySpan<byte> * int -> unit
Public Sub WriteNumber (utf8PropertyName As ReadOnlySpan(Of Byte), value As Integer)

매개 변수

utf8PropertyName
ReadOnlySpan<Byte>

쓸 JSON 개체의 UTF-8로 인코딩된 속성 이름입니다.

value
Int32

이름/값 쌍의 일부로 JSON 번호로 작성할 값입니다.

예외

지정한 속성 이름이 너무 큽합니다.

유효성 검사가 활성화되고 쓰기 작업에서 잘못된 JSON이 생성됩니다.

설명

using 기본 Int32StandardFormat (예: 'G')을 씁니다(예: 32767).

속성 이름은 쓰기 전에 이스케이프됩니다.

적용 대상

WriteNumber(ReadOnlySpan<Byte>, Int64)

Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs

읽기 전용 바이트 Int64 범위로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

public:
 void WriteNumber(ReadOnlySpan<System::Byte> utf8PropertyName, long value);
public void WriteNumber(ReadOnlySpan<byte> utf8PropertyName, long value);
member this.WriteNumber : ReadOnlySpan<byte> * int64 -> unit
Public Sub WriteNumber (utf8PropertyName As ReadOnlySpan(Of Byte), value As Long)

매개 변수

utf8PropertyName
ReadOnlySpan<Byte>

쓸 JSON 개체의 UTF-8로 인코딩된 속성 이름입니다.

value
Int64

이름/값 쌍의 일부로 JSON 번호로 작성할 값입니다.

예외

지정한 속성 이름이 너무 큽합니다.

유효성 검사가 활성화되고 쓰기 작업에서 잘못된 JSON이 생성됩니다.

설명

using 기본 Int64StandardFormat (예: 'G')을 씁니다(예: 32767).

속성 이름은 쓰기 전에 이스케이프됩니다.

적용 대상

WriteNumber(ReadOnlySpan<Byte>, UInt32)

Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs

Important

이 API는 CLS 규격이 아닙니다.

읽기 전용 바이트 UInt32 범위로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

public:
 void WriteNumber(ReadOnlySpan<System::Byte> utf8PropertyName, System::UInt32 value);
[System.CLSCompliant(false)]
public void WriteNumber(ReadOnlySpan<byte> utf8PropertyName, uint value);
[<System.CLSCompliant(false)>]
member this.WriteNumber : ReadOnlySpan<byte> * uint32 -> unit
Public Sub WriteNumber (utf8PropertyName As ReadOnlySpan(Of Byte), value As UInteger)

매개 변수

utf8PropertyName
ReadOnlySpan<Byte>

쓸 JSON 개체의 UTF-8로 인코딩된 속성 이름입니다.

value
UInt32

이름/값 쌍의 일부로 JSON 번호로 작성할 값입니다.

특성

예외

지정한 속성 이름이 너무 큽합니다.

유효성 검사가 활성화되고 쓰기 작업에서 잘못된 JSON이 생성됩니다.

설명

using 기본 UInt32StandardFormat (예: 'G')을 씁니다(예: 32767).

속성 이름은 쓰기 전에 이스케이프됩니다.

적용 대상

WriteNumber(ReadOnlySpan<Byte>, Single)

Source:
Utf8JsonWriter.WriteProperties.Float.cs
Source:
Utf8JsonWriter.WriteProperties.Float.cs
Source:
Utf8JsonWriter.WriteProperties.Float.cs
Source:
Utf8JsonWriter.WriteProperties.Float.cs
Source:
Utf8JsonWriter.WriteProperties.Float.cs
Source:
Utf8JsonWriter.WriteProperties.Float.cs
Source:
Utf8JsonWriter.WriteProperties.Float.cs

읽기 전용 바이트 Single 범위로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

public:
 void WriteNumber(ReadOnlySpan<System::Byte> utf8PropertyName, float value);
public void WriteNumber(ReadOnlySpan<byte> utf8PropertyName, float value);
member this.WriteNumber : ReadOnlySpan<byte> * single -> unit
Public Sub WriteNumber (utf8PropertyName As ReadOnlySpan(Of Byte), value As Single)

매개 변수

utf8PropertyName
ReadOnlySpan<Byte>

쓸 JSON 개체의 UTF-8로 인코딩된 속성 이름입니다.

value
Single

이름/값 쌍의 일부로 JSON 번호로 작성할 값입니다.

예외

지정한 속성 이름이 너무 큽합니다.

유효성 검사가 활성화되고 쓰기 작업에서 잘못된 JSON이 생성됩니다.

설명

이 메서드는 다음 형식을 Single 사용하여 값을 씁니다.

  • .NET Core 3.0 이상 버전에서는 기본값 StandardFormat (즉, 'G')입니다.
  • 다른 모든 프레임워크에서는 'G9'입니다.

속성 이름은 쓰기 전에 이스케이프됩니다.

적용 대상

WriteNumber(ReadOnlySpan<Char>, Decimal)

Source:
Utf8JsonWriter.WriteProperties.Decimal.cs
Source:
Utf8JsonWriter.WriteProperties.Decimal.cs
Source:
Utf8JsonWriter.WriteProperties.Decimal.cs
Source:
Utf8JsonWriter.WriteProperties.Decimal.cs
Source:
Utf8JsonWriter.WriteProperties.Decimal.cs
Source:
Utf8JsonWriter.WriteProperties.Decimal.cs
Source:
Utf8JsonWriter.WriteProperties.Decimal.cs

읽기 전용 문자 범위 Decimal 로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

public:
 void WriteNumber(ReadOnlySpan<char> propertyName, System::Decimal value);
public void WriteNumber(ReadOnlySpan<char> propertyName, decimal value);
member this.WriteNumber : ReadOnlySpan<char> * decimal -> unit
Public Sub WriteNumber (propertyName As ReadOnlySpan(Of Char), value As Decimal)

매개 변수

propertyName
ReadOnlySpan<Char>

코드 변환 및 UTF-8로 작성할 JSON 개체의 UTF-16 인코딩된 속성 이름입니다.

value
Decimal

이름/값 쌍의 일부로 JSON 번호로 작성할 값입니다.

예외

지정한 속성 이름이 너무 큽합니다.

유효성 검사가 활성화되고 쓰기 작업에서 잘못된 JSON이 생성됩니다.

설명

using 기본 DecimalStandardFormat (즉, 'G')을 씁니다.

속성 이름은 쓰기 전에 이스케이프됩니다.

적용 대상

WriteNumber(ReadOnlySpan<Char>, Double)

Source:
Utf8JsonWriter.WriteProperties.Double.cs
Source:
Utf8JsonWriter.WriteProperties.Double.cs
Source:
Utf8JsonWriter.WriteProperties.Double.cs
Source:
Utf8JsonWriter.WriteProperties.Double.cs
Source:
Utf8JsonWriter.WriteProperties.Double.cs
Source:
Utf8JsonWriter.WriteProperties.Double.cs
Source:
Utf8JsonWriter.WriteProperties.Double.cs

읽기 전용 문자 범위 Double 로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

public:
 void WriteNumber(ReadOnlySpan<char> propertyName, double value);
public void WriteNumber(ReadOnlySpan<char> propertyName, double value);
member this.WriteNumber : ReadOnlySpan<char> * double -> unit
Public Sub WriteNumber (propertyName As ReadOnlySpan(Of Char), value As Double)

매개 변수

propertyName
ReadOnlySpan<Char>

코드 변환 및 UTF-8로 작성할 JSON 개체의 UTF-16 인코딩된 속성 이름입니다.

value
Double

이름/값 쌍의 일부로 JSON 번호로 작성할 값입니다.

예외

지정한 속성 이름이 너무 큽합니다.

유효성 검사가 활성화되고 쓰기 작업에서 잘못된 JSON이 생성됩니다.

설명

이 메서드는 다음 형식을 Double 사용하여 값을 씁니다.

  • .NET Core 3.0 이상 버전에서는 기본값 StandardFormat (즉, 'G')입니다.
  • 다른 모든 프레임워크에서는 'G17'입니다.

속성 이름은 쓰기 전에 이스케이프됩니다.

적용 대상

WriteNumber(ReadOnlySpan<Char>, Int32)

Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs

읽기 전용 문자 범위 Int32 로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

public:
 void WriteNumber(ReadOnlySpan<char> propertyName, int value);
public void WriteNumber(ReadOnlySpan<char> propertyName, int value);
member this.WriteNumber : ReadOnlySpan<char> * int -> unit
Public Sub WriteNumber (propertyName As ReadOnlySpan(Of Char), value As Integer)

매개 변수

propertyName
ReadOnlySpan<Char>

코드 변환 및 UTF-8로 작성할 JSON 개체의 UTF-16 인코딩된 속성 이름입니다.

value
Int32

이름/값 쌍의 일부로 JSON 번호로 작성할 값입니다.

예외

지정한 속성 이름이 너무 큽합니다.

유효성 검사가 활성화되고 쓰기 작업에서 잘못된 JSON이 생성됩니다.

설명

using 기본 Int32StandardFormat (예: 'G')을 씁니다(예: 32767).

속성 이름은 쓰기 전에 이스케이프됩니다.

적용 대상

WriteNumber(ReadOnlySpan<Char>, Int64)

Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.SignedNumber.cs

읽기 전용 문자 범위 Int64 로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

public:
 void WriteNumber(ReadOnlySpan<char> propertyName, long value);
public void WriteNumber(ReadOnlySpan<char> propertyName, long value);
member this.WriteNumber : ReadOnlySpan<char> * int64 -> unit
Public Sub WriteNumber (propertyName As ReadOnlySpan(Of Char), value As Long)

매개 변수

propertyName
ReadOnlySpan<Char>

코드 변환 및 UTF-8로 작성할 JSON 개체의 UTF-16 인코딩된 속성 이름입니다.

value
Int64

이름/값 쌍의 일부로 JSON 번호로 작성할 값입니다.

예외

지정한 속성 이름이 너무 큽합니다.

유효성 검사가 활성화되고 쓰기 작업에서 잘못된 JSON이 생성됩니다.

설명

using 기본 Int64StandardFormat (예: 'G')을 씁니다(예: 32767).

속성 이름은 쓰기 전에 이스케이프됩니다.

적용 대상

WriteNumber(ReadOnlySpan<Char>, Single)

Source:
Utf8JsonWriter.WriteProperties.Float.cs
Source:
Utf8JsonWriter.WriteProperties.Float.cs
Source:
Utf8JsonWriter.WriteProperties.Float.cs
Source:
Utf8JsonWriter.WriteProperties.Float.cs
Source:
Utf8JsonWriter.WriteProperties.Float.cs
Source:
Utf8JsonWriter.WriteProperties.Float.cs
Source:
Utf8JsonWriter.WriteProperties.Float.cs

읽기 전용 문자 범위 Single 로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

public:
 void WriteNumber(ReadOnlySpan<char> propertyName, float value);
public void WriteNumber(ReadOnlySpan<char> propertyName, float value);
member this.WriteNumber : ReadOnlySpan<char> * single -> unit
Public Sub WriteNumber (propertyName As ReadOnlySpan(Of Char), value As Single)

매개 변수

propertyName
ReadOnlySpan<Char>

코드 변환 및 UTF-8로 작성할 JSON 개체의 UTF-16 인코딩된 속성 이름입니다.

value
Single

이름/값 쌍의 일부로 JSON 번호로 작성할 값입니다.

예외

지정한 속성 이름이 너무 큽합니다.

유효성 검사가 활성화되고 쓰기 작업에서 잘못된 JSON이 생성됩니다.

설명

이 메서드는 다음 형식을 Single 사용하여 값을 씁니다.

  • .NET Core 3.0 이상 버전에서는 기본값 StandardFormat (즉, 'G')입니다.
  • 다른 모든 프레임워크에서는 'G9'입니다.

속성 이름은 쓰기 전에 이스케이프됩니다.

적용 대상

WriteNumber(ReadOnlySpan<Byte>, UInt64)

Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs

Important

이 API는 CLS 규격이 아닙니다.

읽기 전용 바이트 UInt64 범위로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

public:
 void WriteNumber(ReadOnlySpan<System::Byte> utf8PropertyName, System::UInt64 value);
[System.CLSCompliant(false)]
public void WriteNumber(ReadOnlySpan<byte> utf8PropertyName, ulong value);
[<System.CLSCompliant(false)>]
member this.WriteNumber : ReadOnlySpan<byte> * uint64 -> unit
Public Sub WriteNumber (utf8PropertyName As ReadOnlySpan(Of Byte), value As ULong)

매개 변수

utf8PropertyName
ReadOnlySpan<Byte>

쓸 JSON 개체의 UTF-8로 인코딩된 속성 이름입니다.

value
UInt64

이름/값 쌍의 일부로 JSON 번호로 작성할 값입니다.

특성

예외

지정한 속성 이름이 너무 큽합니다.

유효성 검사가 활성화되고 쓰기 작업에서 잘못된 JSON이 생성됩니다.

설명

using 기본 UInt64StandardFormat (예: 'G')을 씁니다(예: 32767).

속성 이름은 쓰기 전에 이스케이프됩니다.

적용 대상

WriteNumber(ReadOnlySpan<Char>, UInt64)

Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs
Source:
Utf8JsonWriter.WriteProperties.UnsignedNumber.cs

Important

이 API는 CLS 규격이 아닙니다.

읽기 전용 문자 범위 UInt64 로 지정된 속성 이름과 JSON 개체의 이름/값 쌍의 일부로 값(JSON 번호)을 씁니다.

public:
 void WriteNumber(ReadOnlySpan<char> propertyName, System::UInt64 value);
[System.CLSCompliant(false)]
public void WriteNumber(ReadOnlySpan<char> propertyName, ulong value);
[<System.CLSCompliant(false)>]
member this.WriteNumber : ReadOnlySpan<char> * uint64 -> unit
Public Sub WriteNumber (propertyName As ReadOnlySpan(Of Char), value As ULong)

매개 변수

propertyName
ReadOnlySpan<Char>

코드 변환 및 UTF-8로 작성할 JSON 개체의 UTF-16 인코딩된 속성 이름입니다.

value
UInt64

이름/값 쌍의 일부로 JSON 번호로 작성할 값입니다.

특성

예외

지정한 속성 이름이 너무 큽합니다.

유효성 검사가 활성화되고 쓰기 작업에서 잘못된 JSON이 생성됩니다.

설명

using 기본 UInt64StandardFormat (예: 'G')을 씁니다(예: 32767).

속성 이름은 쓰기 전에 이스케이프됩니다.

적용 대상