Search notes:

jq: del

del removes a key and its associated value from a JSON object.
$ echo '{"val_1": "foo", "val_2": "bar", "val_3": "baz"}' | jq 'del(.val_2)'
{
  "val_1": "foo",
  "val_3": "baz"
}
Key names with hyphens must be quoted lest the hyphen be interpreted as minus:
$ echo '{"val-one": "foo", "val-two": "bar", "val-three": "baz"}' | jq 'del(."val-two")'
{
  "val-one": "foo",
  "val-three": "baz"
}

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1759561881, '216.73.216.149', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/languages/JavaScript/JSON/tools/jq/functions/del(46): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78