Skip to content

Parsing vs Validating #12

Open
Open
@levelboy

Description

@levelboy

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions