Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow format result into a map #9

Closed
Jimmy-Shi opened this issue Nov 28, 2015 · 1 comment
Closed

Allow format result into a map #9

Jimmy-Shi opened this issue Nov 28, 2015 · 1 comment

Comments

@Jimmy-Shi
Copy link
Owner

when do select(nested("a1, a2.b, a2.c")). The result item should contains entry with key a2 and value is a map with key b and c. In a json view, the result item should be:

{
  "a1":"value of a1",
  "a2":{
    "b":"value of a2.b",
    "c":"value of a2.c"
  }
}
@Jimmy-Shi
Copy link
Owner Author

it is implemented in the way of

select("a1, a2.b, a2.c").nested()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant