kgabis / parson

Lightweight JSON library written in C.
MIT License
1.34k stars 327 forks source link

How to remove a specific property from a Json Object #158

Closed dmsherazi closed 3 years ago

dmsherazi commented 3 years ago

I have a JSON:

{
      "cards": "",
      "remotes": "Test",
      "password1": "Admin",
      "password2": "Admin2",
      "password3": "Admin3",

}

I am trying to remove password3 property is this possible in parson?

and output will be like:

{
       "cards": "",
      "remotes": "Test",
      "password1": "Admin",
      "password2": "Admin2",
}
kgabis commented 3 years ago

json_object_remove