RicoSuter/NJsonSchema

Question regarding the current path of JsonProperty

开放

#200 创建于 2016年9月19日

 (3 条评论) (0 个反应) (0 位负责人)C# (549 个派生)github user discovery
help wantedtype: enhancement

仓库指标

星标
 (1,581 个星标)
PR 合并指标
 (平均合并 39天 6小时) (30 天内合并 1 个 PR)

描述

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

贡献者指南