samedi 12 janvier 2019

How can i make a flat object by removing keys in C#?

I am really not sure if this could be achievable, How can i remove some nested keys in an Object and make the object very flat. I have a dynamic object as follows,

EventData": { "ChangeSet": { "Change": { "changes": [ ] } } }

and i want to change the above to

EventData": { [] }

is this can be achieved in C#?





Aucun commentaire:

Enregistrer un commentaire