I am seeking to create a blueprint for the following data structure, with all values provided by the user:
{
"name":"ABC",
"city":"X",
"child": [{"name":"ccc","age":"22"}, {"name":"ccc","age":"22"} ]
}
This data structure consists of a parent object containing attributes for name and city, as well as an array of child objects with attributes for name and age.
To clarify, I am looking for the syntax or declaration details for the parent and child object arrays.