프로젝트 소개
JBird는 고성능, 타입 안전한 JSON 처리를 위해 설계된 Swift 라이브러리입니다. 모든 JSON 타입을 나타내는 `JSON` 열거형 모델을 제공하여 throwing 서브스크립트와 타입 지정 접근자를 통해 직접 읽기, 변경, 순회가 가능합니다. 속도를 위해 C 기반 파서와 직렬화기를 포함하며, 벤치마크에서 Foundation의 JSONSerialization과 SwiftyJSON, Freddy 같은 다른 라이브러리보다 상당한 개선을 보여줍니다. 또한 변환 프로토콜(`JSONConvertible`, `JSONInitializable`, `JSONRepresentable`)과 자동 준수를 위한 `@JSONRepresentable` 매크로, 선언적 JSON 구성을 위한 결과 빌더, Codable 타입을 위한 드롭인 `JSON.Encoder`/`JSON.Decoder` 대체품을 제공합니다. 설치는 Swift Package Manager를 통해 이루어지며, Apple 플랫폼, Linux, Windows, WebAssembly, Android를 지원합니다. 문서는 DocC를 통해 제공되며 GitHub Pages에 호스팅됩니다.
Comments
0 people shared their preference · Deer Point appears after 10 participants
Sign in to join the discussion.