json-api-vanilla icon indicating copy to clipboard operation
json-api-vanilla copied to clipboard

Deserialize JSON API formats into vanilla Ruby objects.

Results 6 json-api-vanilla issues
Sort by recently updated
recently updated
newest added

We have found that it would be useful to be able to specify the container / superclass for the ruby objects when parsing / building a document. The reason is...

As stated in the JSON API specs a resource linkage object may have these values: > Resource linkage MUST be represented as one of the following: > > null for...

Hi guys. The example for building method is not working properly, it's build Document with nils see example bellow or test case in branch: ```ruby [1] pry(main)> [2] pry(main)> [3]...

According to the Spec (https://jsonapi.org/format/#document-resource-object-linkage), empty relationships are null by default. Object.new is roughly equal to an empty JSON ({}) in context of this deserializer. It is hard for us...

Add the ability to access resource links through `doc.data[0].links` in addition to `doc.links[doc.data[0]]`. This also makes links work when data is a single resource instead of an array.