NullLiteral 空字面量
结构声明
- TS Declaration
- Java Class
- JSON Schema
interface NullLiteral {
"concept": "NullLiteral", // 产品概念
}
class NullLiteralTreeNode {
ConceptEnum concept; // 产品概念
}
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$ref": "#/definitions/NullLiteral",
"definitions": {
"NullLiteral": {
"type": "object",
"properties": {
"concept": {
"type": "string",
"const": "NullLiteral"
}
},
"required": [
"concept"
],
"additionalProperties": false
}
}
}
示例
简单示例
- JSON
- YAML
{
"concept": "NullLiteral"
}
concept: NullLiteral