Node names with "." characters in them, like foo.example.com
davecb opened this issue · comments
David Collier-Brown commented
I'n looking at ansible inventory data containing hostnames, of the form "a192.example.com", and wonder how to express a query in gojsonq, for a datum such as "_meta.hostvars.a001.example.com.ZA_SERVER", which has the expected value of "zabbix.example.com"
Right now, it returns the empty string (;-))
Saddam H commented
UseSetSeparator
method https://github.com/thedevsaddam/gojsonq/wiki/Configurations#custom-separator
gojsonq.New(gojsonq.SetSeparator("->"))
David Collier-Brown commented
Thanks!