DataMatrixStringEncoder
public protocol DataMatrixStringEncoder
Use DefaultDataMatrixStringEncoderto encode an array of ErxTaskMatrixCode into a representive json string
-
Creates a json string representable for an instance that conforms to the
ErxTaskMatrixCodeprotocolThrows
anDefaultDataMatrixStringEncoderErrorthat illustrates that string conversion failedDeclaration
Swift
func stringEncode(tasks: [ErxTaskMatrixCode]) throws -> StringParameters
tasksobjects conforming to
ErxTaskMatrixCodeprotocolReturn Value
a json string with the
ErxTaskMatrixCodes information -
Creates a json string representable for an instance that conforms to the
ErxChargeItemMatrixCodeprotocolThrows
an error if the access code is missing or the string conversion failedDeclaration
Swift
func stringEncode(chargeItem: ErxChargeItemMatrixCode) throws -> StringParameters
chargeItemobjects conforming to
ErxChargeItemMatrixCodeprotocolReturn Value
a string with the
ErxChargeItemMatrixCodes information
View on GitHub
DataMatrixStringEncoder Protocol Reference