我尝试了很多将嵌套对象添加到我的 mysql 列,但它只是将其添加为新键。这是我的样本:
{
"Vocab": {
"username":"132423424",
"Mother": {
"code":"1",
"progress":"1",
"nextdate":"22-10-2020",
"lastcheck":"22-10-2020"
},
"Father": {
"code":"2",
"progress":"2",
"nextdate":"22-10-2020",
"lastcheck":"22-10-2020"
}
}
}
我想在 Vocab 对象下添加这个对象及其内部键:
"Brother": {
"code":"3",
"progress":"1",
"nextdate":"22-12-2020",
"lastcheck":"22-12-2020"
}
任何帮助,将不胜感激