jsonapi-rb / jsonapi-parser

Validate JSON API documents.
http://jsonapi-rb.org
MIT License
27 stars 10 forks source link

Parsing vs Validating #12

Open levelboy opened 6 years ago

levelboy commented 6 years ago

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?