1 image
Author
Description
Access JSON properties dynamically like JavaScript using Swift 4.2's new @dynamicMemberLookup feature, letting you access JSON like this: let username = JSON(data).user?.username?.string
1 image
Access JSON properties dynamically like JavaScript using Swift 4.2's new @dynamicMemberLookup feature, letting you access JSON like this: let username = JSON(data).user?.username?.string