RicoSuter/NJsonSchema
View on GitHubQuestion regarding the current path of JsonProperty
Open
#200 opened on Sep 19, 2016
help wantedtype: enhancement
Repository metrics
- Stars
- (1,578 stars)
- PR merge metrics
- (Avg merge 39d 6h) (1 merged PR in 30d)
Description
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