Skip to content

Initial implementation of the json parser#8

Merged
glenbot merged 1 commit into
glenbot:jsonfrom
AsymmetricVentures:json_parser
Jun 2, 2014
Merged

Initial implementation of the json parser#8
glenbot merged 1 commit into
glenbot:jsonfrom
AsymmetricVentures:json_parser

Conversation

@Naddiseo
Copy link
Copy Markdown

@Naddiseo Naddiseo commented Jun 2, 2014

This patch adds initial support for the json response type from intuit. It adds a objectifier class which lazily converts the json response into objects.

One other change is the tag pattern regex for converting camelCase to underscore_case, I changed it to take into account "401K" which originally was being converted to "401_k", and now is converted to "401k".

I've only written basic tests to make sure the objectifier adheres to the same interface as the original xml implementation

Partial fix for #6
Closes #7

glenbot added a commit that referenced this pull request Jun 2, 2014
Initial implementation of the json parser
@glenbot glenbot merged commit 6c624fd into glenbot:json Jun 2, 2014
@glenbot
Copy link
Copy Markdown
Owner

glenbot commented Jun 2, 2014

I'll test it with my personal software and run the test suite tonight. Thanks again. Great update. Appreciate the 401k catch as well.

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.

3 participants