|
@@ -242,7 +242,6 @@ extension PrimitiveSequence where TraitType == SingleTrait, ElementType == Respo
|
|
if response.statusCode == 200 {
|
|
if response.statusCode == 200 {
|
|
NXLLog("\nurl=\(String(describing: response.request!.url!))\nstatusCode=\(response.statusCode)\njson=\n\(json.description)");
|
|
NXLLog("\nurl=\(String(describing: response.request!.url!))\nstatusCode=\(response.statusCode)\njson=\n\(json.description)");
|
|
|
|
|
|
- let json = JSON(parseJSON: json.description)
|
|
|
|
let rootModel = RootModel(JSONString: json.description)
|
|
let rootModel = RootModel(JSONString: json.description)
|
|
let data = JSON(json["data"]).description
|
|
let data = JSON(json["data"]).description
|
|
rootModel?.data = data
|
|
rootModel?.data = data
|
|
@@ -279,7 +278,6 @@ extension PrimitiveSequence where TraitType == SingleTrait, ElementType == Respo
|
|
if response.statusCode == 200 {
|
|
if response.statusCode == 200 {
|
|
NXLLog("\nurl=\(String(describing: response.request!.url!))\nstatusCode=\(response.statusCode)\njson=\n\(json.description)");
|
|
NXLLog("\nurl=\(String(describing: response.request!.url!))\nstatusCode=\(response.statusCode)\njson=\n\(json.description)");
|
|
|
|
|
|
- let json = JSON(parseJSON: json.description)
|
|
|
|
let rootModel = RootModel(JSONString: json.description)
|
|
let rootModel = RootModel(JSONString: json.description)
|
|
let data = JSON(json["data"]).description
|
|
let data = JSON(json["data"]).description
|
|
rootModel?.data = data
|
|
rootModel?.data = data
|
|
@@ -324,7 +322,6 @@ extension PrimitiveSequence where TraitType == SingleTrait, ElementType == Respo
|
|
if response.statusCode == 200 {
|
|
if response.statusCode == 200 {
|
|
NXLLog("\nurl=\(String(describing: response.request!.url!))\nstatusCode=\(response.statusCode)\njson=\n\(json.description)");
|
|
NXLLog("\nurl=\(String(describing: response.request!.url!))\nstatusCode=\(response.statusCode)\njson=\n\(json.description)");
|
|
|
|
|
|
- let json = JSON(parseJSON: json.description)
|
|
|
|
let rootModel = RootModel(JSONString: json.description)
|
|
let rootModel = RootModel(JSONString: json.description)
|
|
let data = JSON(json["data"]).description
|
|
let data = JSON(json["data"]).description
|
|
rootModel?.data = data
|
|
rootModel?.data = data
|
|
@@ -371,8 +368,6 @@ extension PrimitiveSequence where TraitType == SingleTrait, ElementType == Respo
|
|
let json = try JSON(response.mapJSON())
|
|
let json = try JSON(response.mapJSON())
|
|
if response.statusCode == 200 {
|
|
if response.statusCode == 200 {
|
|
NXLLog("\nurl=\(String(describing: response.request!.url!))\nstatusCode=\(response.statusCode)\njson=\n\(json.description)");
|
|
NXLLog("\nurl=\(String(describing: response.request!.url!))\nstatusCode=\(response.statusCode)\njson=\n\(json.description)");
|
|
-
|
|
|
|
- let json = JSON(parseJSON: json.description)
|
|
|
|
let rootModel = RootModel(JSONString: json.description)
|
|
let rootModel = RootModel(JSONString: json.description)
|
|
let data = JSON(json["data"]).description
|
|
let data = JSON(json["data"]).description
|
|
rootModel?.data = data
|
|
rootModel?.data = data
|
|
@@ -421,7 +416,6 @@ extension PrimitiveSequence where TraitType == SingleTrait, ElementType == Respo
|
|
let url = String(describing: response.request!.url!)
|
|
let url = String(describing: response.request!.url!)
|
|
NXLLog("\nurl=\(url)\nstatusCode=\(response.statusCode)\njson=\n\(json.description)")
|
|
NXLLog("\nurl=\(url)\nstatusCode=\(response.statusCode)\njson=\n\(json.description)")
|
|
|
|
|
|
- let json = JSON(parseJSON: json.description)
|
|
|
|
let rootModel = RootModel(JSONString: json.description)
|
|
let rootModel = RootModel(JSONString: json.description)
|
|
let data = JSON(json["data"]).description
|
|
let data = JSON(json["data"]).description
|
|
rootModel?.data = data
|
|
rootModel?.data = data
|