An alternative to things you can do with Codable
- The generic representation
- Generic Algorithms
- Converting (parsing) a JSON Object into a type: FromJSON.swift
- This has better error messages than Codable
- Pretty Printing to a String (similar to dump):
- Generating XML
- Converting (parsing) a JSON Object into a type: FromJSON.swift
- Code Generation
- We can generate an enum and its generic representation
- Write tests
- Implement code generation for structs
- Describe how to integrate code generation into your project
- Generic XML Parsing
- Generating HTML (pretty-printing), maybe even forms?
- Generating attributed strings
- Generating UIViews?
- Binary encoder/decoder
- When we do this, we can hash the type to make sure we are encoding/decoding the same schema
- Generating random values