- Регистрация
- 23.12.2016
- Сообщения
- 44
- Благодарностей
- 1
- Баллы
- 8
Hello ,
I have a json file which contains many objects. I need to remove objects which contains specific name/value pairs.
Eg:
{
"book": [
{
"id":"01",
"language": "Java",
"edition": "third",
"author": "Herbert Schildt",
},
{
"id":"07",
"language": "C++",
"edition": "second",
"author": "E.Balagurusamy",
}
{
"id":"09",
"language": "C++",
"edition": "third",
"author": "E.Balagurusamy",
}
]
}
Here i need to delete objects which contains name/value pair "language" : "C++"
Please help
I have a json file which contains many objects. I need to remove objects which contains specific name/value pairs.
Eg:
{
"book": [
{
"id":"01",
"language": "Java",
"edition": "third",
"author": "Herbert Schildt",
},
{
"id":"07",
"language": "C++",
"edition": "second",
"author": "E.Balagurusamy",
}
{
"id":"09",
"language": "C++",
"edition": "third",
"author": "E.Balagurusamy",
}
]
}
Here i need to delete objects which contains name/value pair "language" : "C++"
Please help