Hysen Labs
Library / SDK
alibaba/HandyJSON avatar
alibaba

HandyJSON

GitHub describes it as A handy swift json-object serialization/deserialization library. The repository metadata lists Swift as its primary language. The metadata lists the NOASSERTION license. This article stays within the project description and details documented in the GitHub repository README.

4,258 stars677 forksSwiftNOASSERTION
01
DEEP OPEN-SOURCE ANALYSIS

alibaba/HandyJSON: HandyJSON

GitHub describes it as A handy swift json-object serialization/deserialization library. The repository metadata lists Swift as its primary language. The metadata lists the NOASSERTION license. This article stays within the project description and details documented in the GitHub repository README.

02
DEEP OPEN-SOURCE ANALYSIS

Repository scope

GitHub describes it as A handy swift json-object serialization/deserialization library. The repository metadata lists Swift as its primary language. The metadata lists the NOASSERTION license. The README describes the project this way: HandyJSON is a framework written in Swift which to make converting model objects( pure classes/structs ) to and from JSON easy on iOS.

03
DEEP OPEN-SOURCE ANALYSIS

HandyJSON

The README section "HandyJSON" states: Compared with others, the most significant feature of HandyJSON is that it does not require the objects inherit from NSObject( not using KVC but reflection ), neither implements a 'mapping' function( writing value to memory directly to achieve property assignment ).

04
DEEP OPEN-SOURCE ANALYSIS

HandyJSON

The README section "HandyJSON" states: HandyJSON is totally depend on the memory layout rules infered from Swift runtime code. We are watching it and will follow every bit if it changes.

05
DEEP OPEN-SOURCE ANALYSIS

Features

The README section "Features" states: Type-Adaption, such as string json field maps to int property, int json field maps to string property

06
DEEP OPEN-SOURCE ANALYSIS

Editorial conclusion

The repository README is the source for this review. It does not replace a local installation or an independent test.

07
DEEP OPEN-SOURCE ANALYSIS

Official sources

08
Community notes

Community notes