Swiftpack.co - Monsoir/Mason as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
Monsoir/Mason
A simple JSON handling wrapper in Swift, making it available to handle JSON like JavaScript.
.package(url: "https://github.com/Monsoir/Mason.git", from: "2.1.0")

Mason

A simple JSON handle wrapper in Swift, making it available to handle JSON like JavaScript.

For example:

JSON.stringify in JavaScript, in Mason it works as

let result = Mason.stringify(model)

JSON.parse in JavaScript, in Mason it works as

let result = Mason.parse(jsonData, type: TestModel.self)

and more...

Use it with Cocoapods

Add the following line to Podfile

pod 'Mason', :git => 'https://github.com/Monsoir/Mason.git', :tag => "1.0.0"

Use it with Swift Package Manager

.package(url: "https://github.com/Monsoir/Mason.git", from: "2.0.0")

GitHub

link
Stars: 0
Last commit: Yesterday

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Submit a free job ad (while I'm testing this). The analytics numbers for this website are here.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics