FlatBuffersSwift alternatives and similar libraries
Based on the "JSON" category.
Alternatively, view FlatBuffersSwift alternatives based on common mentions on social networks and blogs.
-
MJExtension
A fast, convenient and nonintrusive conversion framework between JSON and model. Your model class doesn't need to extend any base class. You don't need to modify any model file. -
SBJson
This framework implements a strict JSON parser and generator in Objective-C. -
HandyJSON
A handy swift json-object serialization/deserialization library -
AlamofireObjectMapper
An Alamofire extension which converts JSON response data into swift objects using ObjectMapper -
json-swift
A basic library for working with JSON in Swift. -
Motis
Easy JSON to NSObject mapping using Cocoa's key value coding (KVC) -
Serpent
A protocol to serialize Swift structs and classes for encoding and decoding. -
JAYSON
🧱 A JSON decoding/encoding library that handles optimistically or strictly. -
MagicMapper
🌟 Super light and easy automatic JSON to model mapper -
Mappable
flexible JSON to Model converter, specially optimized for immutable properties -
WAMapping
A library to turn dictionary into object and vice versa for iOS. Designed for speed! -
NSTEasyJSON
The better way to deal with JSON in Objective-C (inspired by SwiftyJSON) -
GuardedSwiftyJSON
Swift guarded model initializers for SwiftyJSON -
Alter
Alter is framework to make mapping Codable property and key easier. -
jsoncafe.com
Online Template driven Model Class Generator from JSON.
Appwrite - The open-source backend cloud platform
* 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 FlatBuffersSwift or a related project?
README
FlatBuffersSwift
Motivation
This project brings FlatBuffers (an efficient cross platform serialization library) to Swift.
One minute introduction
There are three simple steps for you to use FlatBuffersSwift
1. Write a schema file
table List {
people : [Person];
}
table Person {
firstName : string;
lastName : string;
}
root_type List;
2. Generate Swift code
fbsCG
console application can be found here: https://github.com/mzaks/FlatBuffersSwiftCodeGen
To generate, please execute it as following:
fbsCG contacts.fbs contacts.swift
3. Use the generated API
Create objects and encode them
let p1 = Person(firstName: "Maxim", lastName: "Zaks")
let p2 = Person(firstName: "Alex", lastName: "Zaks")
let list = List(people: [p1, p2])
let data = try?list.makeData()
Decode data very efficiently
let newList = List.from(data: data)
let name = newList?.people[0].firstName