Instance Method

encode()

Encodes an instance of Tokens. Returns JSON data.

Declaration

func encode() throws -> Data