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

Added functionality #14

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open

Added functionality #14

wants to merge 11 commits into from

Conversation

willyboy
Copy link

Added functionality for merging arrays to an object and dynamic keys. Fixed bug from #5

1) Enable dynamic keys by evaluating any key starting with "$."
2) Enable arrays to be merged to one object
use the array length as the key for walking
Fixed bugs present in dvdln#5 and added documentation for the options argument and dynamic keys
don't remember changing this code but showed up in the diff so putting it back. My tests still pass.
@example template = "$.bob" and element = {bob:123}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant