RicoSuter/NJsonSchema

Question regarding the current path of JsonProperty

Offen

#200 geöffnet am 19.09.2016

 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C# (550 Forks)github user discovery
help wantedtype: enhancement

Repository-Metriken

Stars
 (1.581 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 39T 6h) (1 gemergte PR in 30 T)

Beschreibung

Hi guys,

Just want to know why there's no out of the box property to know the current path of a JsonProperty in the schema. I guess there's a specific reason but I recursively loop into my schema to generate my json which is dynamic all the time. I see 2 options. Use the ParentSchema property or passing my current path in my recursive method.

Any other ways to deal with? Thanks in advance Mathieu

Contributor Guide