diff --git a/Sources/NeiSwift/Protocol/NeisParserProtocol.swift b/Sources/NeiSwift/Protocol/NeisParserProtocol.swift index 7f7acc1..4a9dd8a 100644 --- a/Sources/NeiSwift/Protocol/NeisParserProtocol.swift +++ b/Sources/NeiSwift/Protocol/NeisParserProtocol.swift @@ -17,7 +17,7 @@ public extension NeisParserProtocol { throw NeisError.noData } - let responseData = try JSONSerialization.data(withJSONObject: rowJson) + let responseData = try JSONSerialization.data(withJSONObject: rowJson, options: [.fragmentsAllowed]) return try JSONDecoder().decode(T.self, from: responseData) }