makeEncoder()

Make a JSONEncoder that can be used to encode an Encodable type.

Declaration

func makeEncoder() -> JSONEncoder