From 2bb3ec294d49349ea3525a08d52eedce95ca0e7d Mon Sep 17 00:00:00 2001 From: Radek Pietruszewski Date: Wed, 16 Nov 2016 16:07:40 +0100 Subject: [PATCH] Update JSONParsing.swift --- Sources/JSONParsing.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/JSONParsing.swift b/Sources/JSONParsing.swift index 0be146cf..4c6052d6 100644 --- a/Sources/JSONParsing.swift +++ b/Sources/JSONParsing.swift @@ -54,7 +54,7 @@ extension JSONSerialization: JSONParserType { /// Makes a `JSON` object by matching its argument to a case in the `JSON` enum. /// - parameter object: The instance of `Any` returned from serializing the JSON. /// - returns: An instance of `JSON` matching the JSON given to the function. - private static func makeJSON(with object: Any) -> JSON { + public static func makeJSON(with object: Any) -> JSON { switch object { case let n as NSNumber: let numberType = CFNumberGetType(n)