Task: Serialize Swift Objects to JSON
Task: Serialize Swift Objects to JSON: a task in Terminal-Lego-15k (Harbor dataset). Create a Swift program that demonstrates how to serialize (convert) Swift objects to JSON format. The program should define a User struct/class and convert instances of it into valid JSON strings.
Part of PrimeIntellect/Terminal-Lego-15k.