SwiftUI Custom View Wrapper

I’m trying to figure out how to make a custom view which wraps normal SwiftUI content like this…I’m not sure if I use UIViewRepresentable or what. Please help.
CustomView { x in
VStack { … }

Parse JSON with swiftyJSON and more

Hi I’ve tried to parse my JSON but I couldn’t get my data from it,
(I used SwiftyJSON)
how can I parse this ugly JSON?
//Mark: parser functions:
private func parseProvincesResult(provincesJSON: JSON, completion: @escaping(_ :ProvincesV2) …