Exemplo n.º 1
0
            private static ObjectMember[] GetObjectMembers(JValue value)
            {
                var list = new List <ObjectMember>();

                foreach (var item in value.GetObjectKeyValues())
                {
                    list.Add(new ObjectMember(item.Key.ToString(), item.Value));
                }
                return(list.ToArray());
            }