glideapps/quicktype
Generate ComponentModel.DataAnnotations attributes for JSON Schema constraints
クローズ
#825 opened on 2018/04/25
C#JSON Schemagood first issue
Repository metrics
- Stars
- (10,867 個のスター)
- PR merge metrics
- (PR metrics pending)
説明
There are attributes for min/max and regular expressions, maybe more. I'm not sure they're checked by Json.NET when deserializing, but it would nice to have them in general. Also, the JSON Schema generator of Json.NET will use them to reproduce the constraints in the schema.