Classes
The following classes are available globally.
-
This abstraction helps working with the JSON Format.
It provives a way to access JSON values via subscripting, whether it’s an array or a dictionary.
See moreDeclaration
Swift
public class JSON: AnyObject, CustomDebugStringConvertible
-
This is used to configure NSDate parsing on a global scale.
Arrow.setDateFormat("yyyy-MM-dd'T'HH:mm:ssZZZZZ") // or Arrow.setUseTimeIntervalSinceReferenceDate(true)
For more fine grained control, use
dateFormat
on a per field basis :
See morecreatedAt <-- json["created_at"]?.dateFormat("yyyy-MM-dd'T'HH:mm:ssZZZZZ")
Declaration
Swift
public class Arrow