* RFC 3339 support for both Marshal and Unmarshal.
* Post merge cleanup
* Update request_test.go
Co-authored-by: Quetzy Garcia <quetzy.garcia@integrate.com>
* Spelling
* Update request.go
Co-authored-by: Quetzy Garcia <quetzy.garcia@integrate.com>
* Simplify the ISO 8601 logic. No need for the const rfc3339TimeFormat use time.RFC3339 directly.
Co-authored-by: Quetzy Garcia <quetzy.garcia@integrate.com>
@omarismail LGTM.
I'm curious what you think about perhaps documenting these `iso8601` and `rfc3339` in the `Readme.md`? How did you find that this tag option/value existed? How can we make this better for others vs having to search the library implementation?
* Add support to nullify relationship; http://jsonapi.org/format/#document-resource-object-linkage
* Fixed: [null] is not valid as an empty relationship.
* add support for 'omitempty' on relationships; default behavior of marshalling empty/nil relations (i.e. w/o 'omitempty' tag) marshals with null data relation
* cleanup whitespace
* Added go 1.7 to test versions; fixed the marshaling of empty relations to return an empty array rather than a null/nil. Added a more robust test case for the marshaling of non omitted relations.
* Cleanup.
* Added a comment to UnmarshalMany
* Document the ‘omitempty’ annotation on a relation.
* Add common JSON API values as exported jsonapi pkg constants.