Skip to content

Commit 2d2b0ed

Browse files
committed
ready to release 1.7.0
1 parent ed65906 commit 2d2b0ed

3 files changed

Lines changed: 4 additions & 20 deletions

File tree

HandyJSON.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Pod::Spec.new do |s|
33
s.author = {'xuyecan' => '[email protected]'}
44
s.license = 'Apache License 2.0'
55
s.requires_arc = true
6-
s.version = '1.6.1'
6+
s.version = '1.7.0'
77
s.homepage = "https://github.com/alibaba/handyjson"
88
s.name = "HandyJSON"
99

README.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ An overview of types supported can be found at file: [BasicTypes.swift](./HandyJ
100100
101101
**To use with Swift 2.x using == 0.4.0**
102102
103-
**To use with Swift 3.x using >= 1.6.1**
103+
**To use with Swift 3.x using >= 1.7.0**
104104
105105
For Legacy Swift support, take a look at the [swift2 branch](https://github.com/alibaba/HandyJSON/tree/master_for_swift_2x).
106106
@@ -109,7 +109,7 @@ For Legacy Swift support, take a look at the [swift2 branch](https://github.com/
109109
Add the following line to your `Podfile`:
110110
111111
```
112-
pod 'HandyJSON', '~> 1.6.1'
112+
pod 'HandyJSON', '~> 1.7.0'
113113
```
114114
115115
Then, run the following command:
@@ -123,7 +123,7 @@ $ pod install
123123
You can add a dependency on `HandyJSON` by adding the following line to your `Cartfile`:
124124
125125
```
126-
github "alibaba/HandyJSON" ~> 1.6.1
126+
github "alibaba/HandyJSON" ~> 1.7.0
127127
```
128128
129129
## Manually
@@ -464,14 +464,6 @@ print(object.toJSONString(prettyPrint: true)!) // serialize to pretty JSON strin
464464
465465
It’s all like what we do on deserialization. A property which is excluded, it will not take part in neither deserialization nor serialization. And the mapper items define both the deserializing rules and serializing rules. Refer to the usage above.
466466
467-
# To Do
468-
469-
* Improve testcases
470-
471-
* Improve error handling
472-
473-
* Simplify the API naming
474-
475467
# License
476468
477469
HandyJSON is released under the Apache License, Version 2.0. See LICENSE for details.

README_cn.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -409,14 +409,6 @@ print(object.toJSONString(prettyPrint: true)!) // serialize to pretty JSON strin
409409
410410
和反序列化一样,只要定义`mapping`和`exclude`就可以了。被排除的属性,序列化和反序列化都不再影响到它。而在`mapping`中定义的`Transformer`,同时定义了序列化和反序列的规则,所以只要为属性指明一个`Transformer`关系就可以了。
411411
412-
# 待办
413-
414-
* 完善测试
415-
416-
* 完善异常处理
417-
418-
* 简化API风格
419-
420412
# License
421413
422414
HandyJSON is released under the Apache License, Version 2.0. See LICENSE for details.

0 commit comments

Comments
 (0)