JsonValueKind Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the data type of a JSON value.
public enum class JsonValueKind
public enum JsonValueKind
type JsonValueKind =
Public Enum JsonValueKind
- Inheritance
Fields
Name | Value | Description |
---|---|---|
Undefined | 0 | There is no value (as distinct from Null). |
Object | 1 | A JSON object. |
Array | 2 | A JSON array. |
String | 3 | A JSON string. |
Number | 4 | A JSON number. |
True | 5 | The JSON value true. |
False | 6 | The JSON value false. |
Null | 7 | The JSON value null. |
Remarks
For more information, see How to write custom serializers and deserializers with System.Text.Json.
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.