[swift-users] Swift 101: JSON or XML?
Saagar Jha
saagar at saagarjha.com
Fri Feb 3 09:02:14 CST 2017
Either should be fine, but in my experience JSON is a lot easier to work with due as compared to XML since JSONSerialization being simpler than XMLParser.
Saagar Jha
> On Feb 3, 2017, at 5:00 AM, Roy Henderson via swift-users <swift-users at swift.org> wrote:
>
> Hi,
>
> I'm about to develop my first non-trivial (for me) Swift 3 app. It will retrieve data from a web server and present it on an iOS device.
>
> I would welcome guidance regarding whether I should use JSON or XML to store the data on the web server? The effort to generate either format will be similar so my real decision driver is on the client side. Volume will typically be 100-250 "records" per request with each record comprising 5-10 text fields.
>
> I don't want to pull in any third-party components but stay entirely Apple.
>
> TIA,
>
> Roy
> _______________________________________________
> swift-users mailing list
> swift-users at swift.org
> https://lists.swift.org/mailman/listinfo/swift-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-users/attachments/20170203/e1b0ce2d/attachment.html>
More information about the swift-users
mailing list