Willy,
On 4/14/21 4:36 AM, Willy Tarreau wrote:
How about "json_query" because it's exactly what it does :-)
I'm not familiar with the notion of "query" to decode and extract contents
but I'm not the most representative user and am aware of the "jq" command-
line utility that does this. So if it sounds natural to others I'm fine
with this.
+1 for json_query. It was among my suggestions for an improved name.
We are not decoding the full JSON into a data structure, we are querying
the value of a single entry (as in jq or SQL). json_decode or something
like that would be misleading.
Best regards
Tim Düsterhus