Structs

  1. Empty struct
  2. Initialize immutable struct
  3. Initialize immutable struct - shorthand
  4. Immutable struct with getters
  5. Immutable struct with getter macro
  6. Mutable Struct with setter
  7. Mutable Struct with property macro
  8. Struct with optional attributes
  9. Struct with default value
  10. Struct pass-by-value
  11. Struct from JSON
  12. Struct from JSON - upper case
  13. Struct both from JSON and initialize
  14. Struct from JSON - manual parsing
  15. Multi-level struct manually
  16. Multi-level struct from JSON
  17. Struct from JSON with extra data
  18. Struct from JSON missing data (optional fields)
  19. Extend struct
  20. Extend other structs