ResourceNestedAttribute
Protcol to implement for serialization/deserialization of nested attributes inside a Resource
-
nestedAttributesKeys
Default implementationOverride the keys expected in the JSON API resource object’s attributes to match the nested object’s attributes Format => [resourceObjectAttributeKey: nestedObjectKey]
Default Implementation
-
nestedExcludedAttributes
Default implementationAttributes that won’t be serialized when serializing to a JSON API resource object
Default Implementation
-
attributesKeys
Extension methodAlias of
nestedAttributesKeys
for an instance instead of the type -
excludedAttributes
Extension methodAlias of
nestedExcludedAttributes
for an instance instead of the type