Skip to content

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