jsonapi icon indicating copy to clipboard operation
jsonapi copied to clipboard

A marshaler/unmarshaler for JSON:API.

Results 10 jsonapi issues
Sort by recently updated
recently updated
newest added

**Is your feature request related to a problem? Please describe.** The package does not support unmarshalling top-level links, usually utilizes for pagination. **Describe the solution you'd like** UnmarshalOption to export...

enhancement

**Is your feature request related to a problem? Please describe.** When fetching a resource (say an article) I can get either ``` { "data": { "id": "1", "type": "articles", "attributes":...

enhancement

**Describe the bug** When unmarshalling a omitted `github.com/google/uuid` `UUID` a error is returned that is not there on json.Unmarshal **Expected behavior** Unmarshal should not be called for omitted fields **Links**...

bug

**Is your feature request related to a problem? Please describe.** Currently our lib does not support Unmarshaling errors because it is not seen in requests to JSON:API servers, but it...

enhancement

This is a WIP development branch for json:api v1.1 and may not be merged as-is. Development of missing JSON:API v1.1 features should occur in new branches with this one as...

**Describe the bug** The uniqueness of resource objects (using type+id pairs) is not being enforced by `Marshal` or `Unmarshal` **Expected behavior** An error should be produced whenever two resource objects...

bug

**Is your feature request related to a problem? Please describe.** With some code I need to build the list of included resources from multiple different types, extracted from multiple different...

enhancement

**Is your feature request related to a problem? Please describe.** Yes, it's, so often when you've a `time.Time` value or even a pointer `*time.Time` on your struct to expose the...

enhancement

README says > Package jsonapi implements a marshaler/unmarshaler for [JSON:API v1.0](https://jsonapi.org/format/1.0). The v1.1 release was in September 2022 (https://jsonapi.org/). Has there been any evaluation to determine whether the updated spec...

bug