Swiftpack.co - Package - gwynne/XMLRPCSerialization

XMLRPCSerialization

A package which supports the decoding and encoding of XML-RPC requests. It does not send or receive such requests; it only deals with the XML format and making it Codable. Only encoding is implemented so far.

Github

link
Stars: 3
Help us keep the lights on

Dependencies

Used By

Total: 0

Releases

1.0.0-alpha.11 - Jan 15, 2018

Make encodeIfPresent() and decodeIfPresent() work without supporting nil.

1.0.0-alpha.10 - Jan 7, 2018

Now correctly allows decoding a UInt as Int and vice-versa as long as the values fit in the types.

1.0.0-alpha.9 - Jan 7, 2018

For some reason [String] as? [(String, Any)] passes if the array is empty. This leads to [] getting incorrectly encoded with <struct></struct> instead of <array><data></data></array>. Couldn't figure out a good workaround, so just switched it to favor outputting an array instead of a structure because the "ordered dictionary" usage is only supposed to be used by the tests for determinism anyway.

1.0.0-alpha.8 - Jan 7, 2018

When decoding integers of specific size, the appropriate "does it fit in this integer type" check is done and an error is only thrown if not, rather than always. Also works for Doubles that fit in Floats now.

1.0.0-alpha.7 - Jan 7, 2018

Another missed access modifier problem.