Skip to content

Few tweaks#3

Open
kzar wants to merge 2 commits into
mmcgrana:masterfrom
kzar:master
Open

Few tweaks#3
kzar wants to merge 2 commits into
mmcgrana:masterfrom
kzar:master

Conversation

@kzar

@kzar kzar commented Sep 29, 2011

Copy link
Copy Markdown

Updated to use Clojure 1.3, stopped throwing exceptions on badly formed JSON and made existing params take precedence in the merge with JSON ones.

…ed JSON and made existing params take precedence in the merge with JSON ones.
@kzar

kzar commented Sep 30, 2011

Copy link
Copy Markdown
Author

Just made another small change, I added an optional json-key parameter. It lets you handle data that's not in a map structure properly. Say if the user just posts [1,2,3,4] it's nice to wrap it in a map before you merge with the parameters.

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