JSONFeed alternatives and similar libraries
Based on the "JSON" category.
Alternatively, view JSONFeed alternatives based on common mentions on social networks and blogs.
-
AlamofireObjectMapper
An Alamofire extension which converts JSON response data into swift objects using ObjectMapper -
Gloss
DISCONTINUED. [Deprecated] A shiny JSON parsing library in Swift :sparkles: Loved by many from 2015-2021 -
EVReflection
Reflection based (Dictionary, CKRecord, NSManagedObject, Realm, JSON and XML) object mapping with extensions for Alamofire and Moya with RxSwift or ReactiveSwift -
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! -
CodableAlamofire
DISCONTINUED. An extension for Alamofire that converts JSON data into Decodable objects. -
Genome
A simple, type safe, failure driven mapping library for serializing JSON to models in Swift 3.0 (Supports Linux) -
Elevate
Elevate is a JSON parsing framework that leverages Swift to make parsing simple, reliable and composable. -
JSONNeverDie
Auto reflection tool from JSON to Model, user friendly JSON encoder / decoder, aims to never die -
AlamofireJsonToObjects
An Alamofire extension which converts JSON response data into swift objects using EVReflection -
DynamicUI
Create a SwiftUI user interface through a JSON file. The JSON file will contain the structure of the user interface, and the program will create the user interface based on the JSON file.
CodeRabbit: AI Code Reviews for Developers

* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of JSONFeed or a related project?
README
JSONFeed
Swift parsing for JSON Feed Spec
Installation
Carthage
You can install Carthage with Homebrew using the following command:
brew update
brew install carthage
To integrate JSONFeed into your Xcode project using Carthage, specify it in your Cartfile
where "x.x.x"
is the current release:
github "wesbillman/JSONFeed" "x.x.x"
Swift Package Manager
To install using Swift Package Manager have your Swift package set up, and add JSONFeed as a dependency to your Package.swift
.
dependencies: [
.Package(url: "https://github.com/wesbillman/JSONFeed.git", majorVersion: 0)
]
Manually
Add all the files from JSONFeed/JSONFeed
to your project
Usage
See JSONFeedTests for detailed usage examples
Load a feed from a dictionary
let dictionary = <some feed dictionary>
let feed = try? JSONFeed(json: dictionary)
Load a feed from data
let data = <some feed data>
let feed = try? JSONFeed(data: data)
Load a feed from a json ut8f string
let string = <some utf8 json string>
let feed = try? JSONFeed(string: string)
Reading from a feed via URLSession
Using default configuration and URLSession
let reader = JSONFeedReader()
reader.read(string: "https://jsonfeed.org/feed.json") { (feed, error) in
if let error = error {
//bad things happened
}
if let feed = feed {
//good things happened
}
}
Using custom implemenation of URLSession (example: for unit testing)
let reader = JSONFeedReader(session: SomeCustomURLSession)
reader.read(string: "https://jsonfeed.org/feed.json") { (feed, error) in
if let error = error {
//bad things happened
}
if let feed = feed {
//good things happened
}
}