How to remove json objects with specific name value pair ?

  • Автор темы Автор темы Jaseel s
  • Дата начала Дата начала
  • Теги Теги
    json

Jaseel s

Read only
Read only
Регистрация
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
 
Thanks ,
It works fine:-):-):-):-):D:D:D
 

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)