Perhaps the title is a bit basic. Essentially, I am looking for something similar to mysqldump ... --no-data ...
. For instance, I have a JSON object structured like this:
{ "key1" : "value1",
"key2" : "value2",
"key3" : {
"key3a" : 1,
"key3b" : 2
},
"key4" : "value3"
}
What I am aiming for is an empty object with the identical structure, such as:
{ "key1" : null,
"key2" : null,
"key3" : {
"key3a" : null,
"key3b" : null
},
"key4" : null
}