Hi Folks - I am using JANSSON to store JSON data in an htable.  How does
one remove an entire element from a JSON?

I do not see a specific function mentioning clear or remove exposed in the
Kamailio module, but do see various clear/remove methods in the underlying
C library.

Below does set the value of key foo to null.  I would like to remove both
the key and value of foo.

jansson_set("null", "$var(foo)", "$var(json)", "$var(result)");


Running Kamailio v5.4
Debian 10


-Jeremy
_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to