Пример #1
0
        internal static IEnumerable <JsonProperty> GetDescendantPropertiesCore(JsonElement src)
        {
            foreach (JsonProperty o in src.ChildrenPropertiesCore())
            {
                yield return(o);

                if (o.Value.IsContainer())
                {
                    foreach (JsonProperty d in o.Value.GetDescendantProperties())
                    {
                        yield return(d);
                    }
                }
            }
        }