Also the JSON example at the beginning of the section must be { "domain": {...} }, but it is { "domain_definition": "domain": {...} }, so all the examples will not work. Obviously this is done to create an association of the variable name with the JSON section, but it would be better to use the correct form.
The example in Selecting JSON data: JSON queries section contains a mistake in
server_name_cluster1_query
, the value should be"domain.server[?cluster=='cluster1'].{name: name, port: port}"
. The same problem on the page community.general.json_query filter – Select a single element or a data subset from a complex data structure.Also the JSON example at the beginning of the section must be
{ "domain": {...} }
, but it is{ "domain_definition": "domain": {...} }
, so all the examples will not work. Obviously this is done to create an association of the variable name with the JSON section, but it would be better to use the correct form.