I have a Grails project the interacts with mongo DB. I would like to know what is the best practice for creating domain classes that represent nesting data.
data for example:
settings:{
user:{id:1234 , name:"john"}
colors:{header:"red" , footer:"white"}
}
would appreciate any help or code examples