Skip to content

Commit 044e226

Browse files
committed
remove JSONArray and JSON
1 parent 6884a70 commit 044e226

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

KakaJSON/Global/JSON.swift

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ public func JSONObjectArray<M: Convertible>(from models: [M]) -> [[String: Any]]
1515
return models.kj.JSONObjectArray()
1616
}
1717

18-
public func JSONArray(from value: [Any]) -> [Any] {
19-
return value.kj.JSONArray()
20-
}
21-
22-
public func JSON(from value: Any) -> Any? {
23-
return Values.JSONValue(value)
24-
}
18+
//public func JSONArray(from value: [Any]) -> [Any] {
19+
// return value.kj.JSONArray()
20+
//}
21+
//
22+
//public func JSON(from value: Any) -> Any? {
23+
// return Values.JSONValue(value)
24+
//}
2525

2626
public func JSONString(from value: Any,
2727
prettyPrinted: Bool = false) -> String {

0 commit comments

Comments
 (0)