Skip to content

Commit a00eafa

Browse files
committed
Add link for usages
1 parent 6abe22b commit a00eafa

File tree

1 file changed

+63
-1
lines changed

1 file changed

+63
-1
lines changed

README.md

Lines changed: 63 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,68 @@ To use Swift Package Manager, you should update to Xcode 11.
2424

2525
Or you can login Xcode with your GitHub account. just search **KakaJSON**.
2626

27+
## Usages
28+
- [JSON To Model](#json-to-model)
29+
- [Basic Usage](#basic-usage)
30+
- [Simple Model](#simple-model)
31+
- [Class Type](#class-type)
32+
- [Inheritance](#inheritance)
33+
- [let](#let)
34+
- [JSONString](#jsonstring)
35+
- [JSONData](#jsondata)
36+
- [Nested Model 1](##nested-model-1)
37+
- [Nested Model 2](##nested-model-2)
38+
- [Model Array](#model-array)
39+
- [Convert](#convert)
40+
- [Listen](#listen)
41+
- [Data Type](#data-type)
42+
- [Int](#int)
43+
- [Float](#float)
44+
- [Double](#double)
45+
- [CGFloat](#cgfloat)
46+
- [Bool](#bool)
47+
- [String](#string)
48+
- [Decimal](#decimal)
49+
- [NSDecimalNumber](#nsdecimalnumber)
50+
- [NSNumber](#nsnumber)
51+
- [Optional](#optional)
52+
- [URL](#url)
53+
- [Data](#data)
54+
- [Date](#date)
55+
- [Enum](#enum)
56+
- [Array](#array)
57+
- [Set](#set)
58+
- [Dictionary](#dictionary)
59+
- [Key Mapping](#key-mapping)
60+
- [Basic Usage](##basic-usage-1)
61+
- [Camel -> Underline](#camel---underline)
62+
- [Underline -> Camel](#underline---camel)
63+
- [Inheritance](#inheritance-1)
64+
- [Override 1](#override-1)
65+
- [Override 2](#override-2)
66+
- [Global Config](#global-config)
67+
- [Local Config](#local-config)
68+
- [Config Example 1](#config-example-1)
69+
- [Config Example 2](#config-example-2)
70+
- [Complex](#complex)
71+
- [Custom Value](#custom-value)
72+
- [Date](#date-1)
73+
- [Unspecific Type](#unspecific-type)
74+
- [Example](#example)
75+
- [Other Ways](#other-ways)
76+
- [Dynamic Model](#dynamic-model)
77+
- [Model To JSON](#model-to-json)
78+
- [JSON and JSONString](#json-and-jsonstring)
79+
- [Optional](#optional-1)
80+
- [Enum](#enum-1)
81+
- [Nested Model](#nested-model)
82+
- [Any](#any)
83+
- [Model Array](#model-array-1)
84+
- [Model Set](#model-set)
85+
- [Key Mapping](#key-mapping-1)
86+
- [Custom Value](#custom-value-1)
87+
- [Listen](#listen)
88+
2789
## JSON To Model
2890
### Basic Usage
2991
#### Simple Model
@@ -1460,7 +1522,7 @@ XCTAssert(dog?.toy?.name == toy.name)
14601522
XCTAssert(dog?.toy?.price == toy.price)
14611523
```
14621524

1463-
### Custome Value
1525+
### Custom Value
14641526
#### Date
14651527
```swift
14661528
private let date1Fmt: DateFormatter = {

0 commit comments

Comments
 (0)