IkigaJSON
IkigaJSON is a really fast JSON parser. It performed ~4x faster than Foundation in our tests when decoding a type from JSON.
Adding the dependency
The 1.x versions are reliant on SwiftNIO 1.x, and
Installation • Usage • License
DynamicJSON is a dynamically typed JSON parser built upon the new @dynamicMemberLookup feature introduced by Chris Lattner in Swift 4.2. This allows us to access arbitrary object memb
JSONFeed
A Swift encoder and decoder for the JSON Feed format.
Usage
// For an example, see https://jsonfeed.org/feed.json
let json = "{ ... }"
let decoder = JSONDecoder()
decoder.dateDecodingStrategy =
Transformers is a framework to transform things elegantly using the power of Swift programming language.
Note: Support Swift version: 4.1 or newer
Feature
Cast JSON data with type.
Cast a swift dictionar
AlamofireCodable: An extension to Alamofire which automatically converts JSON response data into swift objects using Codable. This project is heavily inspired by the popular AlamofireObjectMapper.
Installation
A
ObjectMapper
ObjectMapper is a framework written in Swift that makes it easy for you to convert your model objects (classes and structs) to and from JSON.
Features
The Basics
Mapping Nested Objects
Custom
RxJSON
RxSwift wrapper for JSON.
At a Glance
This is an example of converting a json dictionary observable to a string observable:
URLSession.shared.rx.json(url: "https://api.github.com/repos/Reactor
Introduction
What's this?
Jsonify is a delightful JSON parsing framework for iOS/macOS/watchOS/tvOS platforms written in Swift.
Requirements
iOS 8.0+
macOS 10.10+
watchOS 2
Serpent (previously known as Serializable) is a framework made for creating model objects or structs that can be easily serialized and deserialized from/to JSON. It's easily expandable and handles all common data types u
Argo
Argo is a library that lets you extract models from JSON or similar structures in a way that's concise, type-safe, and easy to extend. Using Argo, you won't need to write validation code to ensure that incoming
TidyJSON
TidyJSON is a neat and tidy JSON package run on all Swift platforms (Linux, iOS, OS X, tvOS, watchOS)
This branch using Swift 3.0
Goals
simple, neat and tidy json lib
safe static typed wit
Jay
Pure-Swift JSON parser & formatter. Fully streamable input and output. Linux & OS X ready. Replacement for NSJSONSerialization.
Jay conforms to the following specifications:
JSON RFC4627
Ope
What's this?
j2s is a macOS app that converts JSON dictionaries into Swift structs. It also outputs implementations of Equatable and Hashable for every struct it generates.
That's it? Can I make it do anyth
ProtobufExample
In iOS, it is an example of handling Protocol Buffers. It is possible to response Protocol Buffers or JSON by requesting one PATH of API server.
ProtobufClient
Client demo application for iOS
JAYSON provides 2 ways of accessing to JSON object.
Easy access (with dynamic-member-lookup)
let urlString: String? = json[3]?.shot?.images?.hidpi_image?.string
Strict access (with dynamic-member-lookup)
We can kn
json2swift
A macOS command line tool that generates excellent Swift data models based on JSON data.
It takes care of the boring error-prone grunt work of consuming JSON data in your app.
Feel free to modify the code
Marshal
In Swift, we all deal with JSON, plists, and various forms of [String: Any]. Marshal believes you don't need a Ph.D. in monads or magic mirrors to deal with these in an expressive and type safe way. Mars
* Note about JSONDecoder in Swift 4 *
To experiment with JSONDecoder in Swift 4, use the swift4 branch. Some of the other implementations were removed from the swift4 branch to get it to compile and run. Check the perfo
JSON
Micro framework for easily parsing JSON in Swift 3 with rich error messages in less than 100 lines of code.
infomercial voice
🎙
Are you tried of parsing JSON and not knowing what went wrong? Do
JSONCop
JSONCop makes it easy to write a simple model layer for your Cocoa and Cocoa Touch application.
JSONCop scans all the methods and variables like JSONKeyPathByPropertyKey xxxJSONTransformer in all the s
JSON Config
A Swift 3 JSON Config reader library. Reads JSON files for server side configuration.
JSON files can be used for maintaining system specific settings such as database names, credentials, api keys, access to
JSON
Improve both the brevity and clarity of your model mapping code.
JSON provides a simple and performant interface for accessing and creating serialized data.
This library exposes an API with minimal surface are
CaesarParser
CaesarParser is a framework written in Swift for you to parse Model from JSON or to JSON.
Features
JSON deserialization, parse JSON to Model
JSON serialization, parse Model to JSON
Supp
PMJSON
PMJSON provides a pure-Swift strongly-typed JSON encoder/decoder as well as a set of convenience methods for converting to/from Foundation objects and for decoding JSON structures.
The entire JSON encoder
Functional JSON Parser
Feature
Linux Ready
Type-safe JSON parsing
Functional value transformation
Easy to parse nested value
Dependency free
No defined custom operato
JASON is a faster JSON deserializer written in Swift.
JASON is the best framework we found to manage JSON at Swapcard. This is by far the fastest and
the most convenient out there, it made our code clearer and improv
Decodable
Simple and strict, yet powerful object mapping made possible by Swift 2's error handling. Greatly inspired by Argo, but without a bizillion functional operators.
struct Repository {
let name: Strin