Skip to content

Commit 321e0c5

Browse files
authored
JSONValue.debugDataTypeDescription is internal now (#45)
Fixes #38
1 parent 1d977ad commit 321e0c5

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Sources/PureSwiftJSON/Decoding/JSONDecoder.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import PureSwiftJSON
21

32
public struct JSONDecoder {
43
@usableFromInline var userInfo: [CodingUserInfoKey: Any] = [:]

Sources/PureSwiftJSON/JSONValue.swift

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,10 @@ extension JSONValue {
101101
bytes.append(contentsOf: stringBytes[startCopyIndex ..< nextIndex])
102102
bytes.append(UInt8(ascii: "\""))
103103
}
104+
}
104105

105-
public var debugDataTypeDescription: String {
106+
extension JSONValue {
107+
var debugDataTypeDescription: String {
106108
switch self {
107109
case .array:
108110
return "an array"

0 commit comments

Comments
 (0)