【发布时间】:2020-11-15 09:27:35
【问题描述】:
我尝试了很多方法来将嵌套对象添加到我的 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"
}
任何帮助将不胜感激
【问题讨论】:
标签: mysql json nested-object