Fidelity Investments interview question

What does Codable mean in swift?

Interview Answer

Anonymous

25 Oct 2024

Allows objects to be encoded and decoded to and from external representations such as JSON, XML, or Plist data. By conforming to the Codable protocol, objects can be easily converted to and from data, allowing them to be saved or sent over a network.