kurazjajami kurazjajami 09.09.2020, 14:04:59 1 + #programowanie #json #programista15kMirki, w jaki sposób mogę usunąć zaznaczone objekty/tablice w oracle json? Idzie to zrobić jakąś pętlą? Funkcją? { "Accounts": [ { "Reference": { "Key": "1111", "System": "Oracle" }, "ContactMethods": { "Phone": [{...}, {...}, ...], "Email": [{...}, {...}, ...], "Address": [], // remove this "Website": [] // remove this }, "Registration" : {...} }, { "Reference": { "Key": "2222", "System": "DB2" }, "ContactMethods": { "Phone": [{...}, {...}, ...], "Email": [], // remove this "Address": [], // remove this "Website": [{...}, {...}, ...] }, "Registration" : {} // or null, remove this }, ]}
Mirki, w jaki sposób mogę usunąć zaznaczone objekty/tablice w oracle json? Idzie to zrobić jakąś pętlą? Funkcją?
{"Accounts": [
{
"Reference": {
"Key": "1111",
"System": "Oracle"
},
"ContactMethods": {
"Phone": [{...}, {...}, ...],
"Email": [{...}, {...}, ...],
"Address": [], // remove this
"Website": [] // remove this
},
"Registration" : {...}
},
{
"Reference": {
"Key": "2222",
"System": "DB2"
},
"ContactMethods": {
"Phone": [{...}, {...}, ...],
"Email": [], // remove this
"Address": [], // remove this
"Website": [{...}, {...}, ...]
},
"Registration" : {} // or null, remove this
},
]
}
jqby to zrobił