Dynamic Structs by json

Why?
And how I can implement my Usecase?