glideapps/quicktype

Generate ComponentModel.DataAnnotations attributes for JSON Schema constraints

Open

#825 geöffnet am 25. Apr. 2018

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (968 Forks)batch import
C#JSON Schemagood first issue

Repository-Metriken

Stars
 (10.867 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

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.

Contributor Guide