jsonapi-parser icon indicating copy to clipboard operation
jsonapi-parser copied to clipboard

Parsing vs Validating

Open levelboy opened this issue 7 years ago • 0 comments

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?

levelboy avatar Jul 05 '18 12:07 levelboy