让我们说我们有一个看起来像这样的对象。
// first name - of employee 3
company.employees.employeeId[3].first
// last name - of employee 3
company.employees.employeeId[3].last
// department - of employee 3
company.employees.employeeId[3].department
有没有办法/图书馆做这样的查询
// looking for all employees in department Z
result = company.employees.[*].department['accounting']