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

Add '#' wildcard to support the hokey but useful Map to Array transform #4

Closed
milosimpson opened this issue Mar 12, 2013 · 0 comments · Fixed by #14
Closed

Add '#' wildcard to support the hokey but useful Map to Array transform #4

milosimpson opened this issue Mar 12, 2013 · 0 comments · Fixed by #14

Comments

@milosimpson
Copy link
Contributor

Currently Jolt can transform Arrays into Maps, but it can't do the opposite of transforming a Map into an Array.

The idea is to add an implicit counter that can be be used to "auto generate" array indices.

The usecase is hokey, in that Map to Array transform will not have a guaranteed order, but sometimes there doesn't need to be an order.

milosimpson added a commit that referenced this issue May 21, 2013
Shiftr Hash Token
  - Implementation and two tests / examples

fixes #12
Not throw stack trace when spec expects a map but gets an Array, and vice versa

fixes #11
Fix JsonUtils removeRecursive to not break "un-necessarily" on ImmutableMaps
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant