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

Parsing vs Validating #12

Open
levelboy opened this issue Jul 5, 2018 · 0 comments
Open

Parsing vs Validating #12

levelboy opened this issue Jul 5, 2018 · 0 comments

Comments

@levelboy
Copy link

levelboy commented Jul 5, 2018

When I see a method named parse with a payload as a parameter, I expect it to go through the payload and return a hash/object to better deal with the payload.
e.g.

Time <- Time.parse(string)
Hash <- JSON.parse(string)

It looks like this gem uses the parse to raise an exception if the payload is not a valid JSONAPI document.

Are there plans to add parsing functionality in this gem?

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

No branches or pull requests

1 participant