Skip to content

Commit

Permalink
🐛 :: Json의 Fragment를 허용합니다
Browse files Browse the repository at this point in the history
  • Loading branch information
baekteun committed Jul 16, 2023
1 parent 1720d19 commit f475f32
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/NeiSwift/Protocol/NeisParserProtocol.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit f475f32

Please sign in to comment.