Backend Pattern Serializer - department-of-veterans-affairs/caseflow GitHub Wiki

[Pattern] Serializer

Description

A serializer transforms an object from one representation into a different representation (ex: Ruby hash or JSON).

Caseflow uses Fast JSON API to implement serializers.

Location

  • app/serializers
  • app/models/serializers DEPRECATED

Best Practices

N/A

Tradeoffs

N/A

Resources

Examples in Caseflow

Additional Reading

Related Patterns

Pattern Description
⚠️ **GitHub.com Fallback** ⚠️