Versions in this module Expand all Collapse all v0 v0.1.1 May 26, 2019 Changes in this version + const MediaType + func Marshal(w io.Writer, v interface{}) error + func MarshalC(c *ctrl.Controller, w io.Writer, v interface{}) error + func MarshalErrors(w io.Writer, errorObjects ...*aerrors.ApiError) error + func MarshalScope(w io.Writer, s *query.Scope) error + func MarshalScopeC(c *ctrl.Controller, w io.Writer, s *query.Scope) error + func Unmarshal(r io.Reader, v interface{}) error + func UnmarshalC(c *ctrl.Controller, r io.Reader, v interface{}) error + func UnmarshalManyScope(r io.Reader, m *mapping.ModelStruct) (*query.Scope, error) + func UnmarshalManyScopeC(c *ctrl.Controller, r io.Reader, m *mapping.ModelStruct) (*query.Scope, error) + func UnmarshalSingleScope(r io.Reader, m *mapping.ModelStruct) (*query.Scope, error) + func UnmarshalSingleScopeC(c *ctrl.Controller, r io.Reader, m *mapping.ModelStruct) (*query.Scope, error) + func UnmarshalWithSelected(r io.Reader, v interface{}) ([]*mapping.StructField, error) + func UnmarshalWithSelectedC(c *controller.Controller, r io.Reader, v interface{}) ([]*mapping.StructField, error) + type ErrorsPayload struct + Errors []*aerrors.ApiError + type Link struct + Href string + Meta Meta + type Linkable interface + JSONAPILinks func() *Links + type Links map[string]interface + type Meta map[string]interface + type Metable interface + JSONAPIMeta func() *Meta + type RelationshipLinkable interface + JSONAPIRelationshipLinks func(relation string) *Links + type RelationshipMetable interface + JSONAPIRelationshipMeta func(relation string) *Meta