Dynamic inventory - how to use group:children

In “normal” inventory files, there’s the concept of “group children”, allowing the use of nested groups of hotsts.

However, the documentation for the expected output of dynamic inventory systems does not include information about how Ansible expects group children to be presented in json form.
Does anyone have an example of what the json format should look like?

There’s a “children” field in the JSON. Have a look at http://docs.ansible.com/ansible/dev_guide/developing_inventory.html, in the Script Conventions section:


"children": ["marietta", "5points"]

indeed it is. Thank you!!