แก้ไข

แชร์ผ่าน


JsonKnownNamingPolicy Enum

Definition

The JsonNamingPolicy to be used at run time.

public enum class JsonKnownNamingPolicy
public enum JsonKnownNamingPolicy
type JsonKnownNamingPolicy = 
Public Enum JsonKnownNamingPolicy
Inheritance
JsonKnownNamingPolicy

Fields

Name Value Description
Unspecified 0

Specifies that JSON property names should not be converted.

CamelCase 1

Specifies that the built-in CamelCase be used to convert JSON property names.

SnakeCaseLower 2

Specifies that the built-in SnakeCaseLower policy be used to convert JSON property names.

SnakeCaseUpper 3

Specifies that the built-in SnakeCaseUpper policy be used to convert JSON property names.

KebabCaseLower 4

Specifies that the built-in KebabCaseLower be used to convert JSON property names.

KebabCaseUpper 5

Specifies that the built-in KebabCaseUpper policy be used to convert JSON property names.

Applies to