Swift JSON

Open-source Swift projects categorized as JSON

Top 23 Swift JSON Projects

  • SwiftyJSON

    The better way to deal with JSON data in Swift.

    Project mention: How does one decode this JSON data? | /r/iOSProgramming | 2023-02-23

    I don’t think you are going to be able to use JSONDecoder to do what you are asking. I see the problem is that you need to create a struct that has all the property names (pokemon names) in it in order to use JSONDecoder (that’s a pain). You need to resort to “parsing” the JSON and constructing your own data model to satisfy your requirements. Something like this might help. https://github.com/SwiftyJSON/SwiftyJSON

  • ObjectMapper

    Simple JSON Object mapping written in Swift

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

  • JSONExport

    JSONExport is a desktop application for Mac OS X which enables you to export JSON objects as model classes with their associated constructors, utility methods, setters and getters in your favorite language.

  • HandyJSON

    A handy swift json-object serialization/deserialization library (by alibaba)

  • Argo

    Functional JSON parsing library for Swift (by thoughtbot)

  • AlamofireObjectMapper

    An Alamofire extension which converts JSON response data into swift objects using ObjectMapper

  • mapper

    A JSON deserialization library for Swift

  • WorkOS

    The modern API for authentication & user identity. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

  • Decodable

    [Probably deprecated] Swift 2/3 JSON unmarshalling done (more) right

  • JASON

    Fast JSON parsing for Swift (by delba)

  • EVReflection

    Reflection based (Dictionary, CKRecord, NSManagedObject, Realm, JSON and XML) object mapping with extensions for Alamofire and Moya with RxSwift or ReactiveSwift

  • SwiftyJSONAccelerator

    macOS app to generate Swift 5 code for models from JSON (with Codeable)

  • Himotoki

    A type-safe JSON decoding library purely written in Swift

  • JSONHelper

    ✌ Convert anything into anything in one operation; JSON data into class instances, hex strings into UIColor/NSColor, y/n strings to booleans, arrays and dictionaries of these; anything you can make sense of!

  • Genome

    A simple, type safe, failure driven mapping library for serializing JSON to models in Swift 3.0 (Supports Linux) (by loganwright)

  • json-swift

    A basic library for working with JSON in Swift.

  • Marshal

    Marshaling the typeless wild west of [String: Any]

  • Elevate

    Elevate is a JSON parsing framework that leverages Swift to make parsing simple, reliable and composable. (by Nike-Inc)

  • JSONCodable

    Hassle-free JSON encoding and decoding in Swift

  • FlatBuffersSwift

    This project brings FlatBuffers (an efficient cross platform serialization library) to Swift.

  • Coolie

    Coolie(苦力) helps you to create models (& their constructors) from a JSON file.

  • PMHTTP

    Swift/Obj-C HTTP framework with a focus on REST and JSON

  • Plank

    A tool for generating immutable model objects

  • JSONNeverDie

    Auto reflection tool from JSON to Model, user friendly JSON encoder / decoder, aims to never die

  • Onboard AI

    ChatGPT with full context of any GitHub repo. Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at app.getonboardai.com.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-02-23.

Swift JSON related posts

Index

What are some of the best open-source JSON projects in Swift? This list will help you:

Project Stars
1 SwiftyJSON 22,328
2 ObjectMapper 9,089
3 JSONExport 4,778
4 HandyJSON 4,186
5 Argo 3,499
6 AlamofireObjectMapper 2,654
7 mapper 1,175
8 Decodable 1,041
9 JASON 1,014
10 EVReflection 964
11 SwiftyJSONAccelerator 943
12 Himotoki 799
13 JSONHelper 784
14 Genome 764
15 json-swift 723
16 Marshal 699
17 Elevate 611
18 JSONCodable 605
19 FlatBuffersSwift 569
20 Coolie 506
21 PMHTTP 505
22 Plank 469
23 JSONNeverDie 452
ChatGPT with full context of any GitHub repo.
Onboard AI learns any GitHub repo in minutes and lets you chat with it to locate functionality, understand different parts, and generate new code. Use it for free at app.getonboardai.com.
app.getonboardai.com