glideapps/quicktype

Generate ComponentModel.DataAnnotations attributes for JSON Schema constraints

Open

#825 建立於 2018年4月25日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)TypeScript (10,867 star) (968 fork)batch import
C#JSON Schemagood first issue

描述

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.

貢獻者指南