ReflectedStringConvertible

ReflectedStringConvertible is a protocol that extends CustomStringConvertible and uses reflection to add a detailed textual representation to any class.

Two styles are supported:

  1. normal: Similar to Swift’s default textual representation of structs.
  2. json: Pretty JSON representation.

Leave a Reply