We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a279750 commit 15c6800Copy full SHA for 15c6800
README.md
@@ -133,28 +133,6 @@ firstName = decoder[5]["wrongKey"]["MoreWrong"].string
133
134
## Array and Dictionary support
135
136
-There is two ways to access Arrays and Dictionary. The first is the convenience methods.
137
-
138
-```javascript
139
-{
140
- "scopes" : ["Bakersfield", "California", "USA"]
141
-}
142
-```
143
144
-Now for the Swift object.
145
-```swift
146
-struct Scopes : JSONJoy {
147
- var scopes: Array<String>?
148
- init() {
149
- }
150
- init(_ decoder: JSONDecoder) {
151
- decoder.getArray(&scopes) //pass the optional array by reference, it will be allocated if it is not and filled
152
153
154
155
156
-The second option is useful for embedded objects.
157
158
```javascript
159
{
160
"addresses": [
0 commit comments