Kopyala
{
"Rating": 1,
"SecondaryRatings": {
"Design": 4,
"Price": 2,
"RatingDimension3": 1
}
}
Bu örnekte önce
remove operasyonu ile Rating alanı silinir, sonra default operasyonu ile NewlyAddedField alanı eklenir.Kopyala
[
{
"operation": "remove",
"spec": {
"Rating": ""
}
},
{
"operation": "default",
"spec": {
"NewlyAddedField": "123"
}
}
]
Kopyala
{
"SecondaryRatings" : {
"Design" : 4,
"Price" : 2,
"RatingDimension3" : 1
},
"NewlyAddedField" : "123"
}

