Releases: shareup/json-apple
Releases · shareup/json-apple
v1.4.2
- Add
JSON.isArray
and JSON.isObject
.
- Update CI
v1.4.1
This release allows nested JSON
types to be initialized with JSON
. This wasn't possible before because trying to initialize an array of JSON
types inside of a dictionary would fail because [JSON]
couldn't be coerced into [JSON]
because the json
accessor didn't check if self was already JSON
. Now, it does.
v1.4.0
- Add
Codable
conformance to JSON
.
v1.3.0
- Add
boolValue(forKey:)
, doubleValue(forKey:)
, and intValue(forKey:)
to Dictionary<String, Any>
to make it easier to access concrete types from dictionaries processed by JSON.
v1.2.0
- Add dictionary subscripts to directly access the concrete values wrapped by
JSON
.
v1.1.0
Add writable subscripts to JSON
to improve the ergonomics of the library.