Skip to content
Permalink
Browse files

(readme) credit and make license more clearly

  • Loading branch information...
xuyecan committed Dec 12, 2018
1 parent 08254f8 commit 5aef695bee1efe9b6a45c278f5cb698115be4f51
Showing with 43 additions and 0 deletions.
  1. +35 −0 LICENSE
  2. +3 −0 README.md
  3. +5 −0 README_cn.md
35 LICENSE
@@ -11,3 +11,38 @@
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

1. reflection

The MIT License (MIT)

Copyright (c) 2016 Brad Hilton

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

2. ObjectMapper

The MIT License (MIT)
Copyright (c) 2014 Hearst

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -683,7 +683,10 @@ class BasicTypes: HandyJSON {
}
```
# Credit
* [reflection](https://github.com/Zewo/Reflection): After the first version which used the swift mirror mechanism, HandyJSON had imported the reflection library and rewrote some code for class properties inspecting.
* [ObjectMapper](https://github.com/tristanhimmelman/ObjectMapper): To make HandyJSON more compatible with the general style, the Mapper function support Transform which designed by ObjectMapper. And we import some testcases from ObjectMapper.
# License
@@ -622,6 +622,11 @@ class BasicTypes: HandyJSON {
}
```
# 致谢
* [reflection](https://github.com/Zewo/Reflection): HandyJSON第一个版本使用了Swift提供的Mirror机制,随后引入了reflection这个库的源码并做了改动,用来实现类属性解析的功能。
* [ObjectMapper](https://github.com/tristanhimmelman/ObjectMapper): 为了更广泛地支持已有设施,Mapper的实现参考了ObjectMapper的Transform,并引入了若干已实现好的Transformer。同时也引入了ObjectMapper的部分testcases。
# License
HandyJSON is released under the Apache License, Version 2.0. See LICENSE for details.

0 comments on commit 5aef695

Please sign in to comment.
You can’t perform that action at this time.