Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Source/SwiftyJSON.swift
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ extension String: JSONSubscriptType {

extension JSON {

/// If `type` is `.Array`, return json which's object is `array[index]`, otherwise return null json with error.
/// If `type` is `.Array`, return json whose object is `array[index]`, otherwise return null json with error.
private subscript(index index: Int) -> JSON {
get {
if self.type != .Array {
Expand All @@ -464,7 +464,7 @@ extension JSON {
}
}

/// If `type` is `.Dictionary`, return json which's object is `dictionary[key]` , otherwise return null json with error.
/// If `type` is `.Dictionary`, return json whose object is `dictionary[key]` , otherwise return null json with error.
private subscript(key key: String) -> JSON {
get {
var r = JSON.null
Expand Down Expand Up @@ -535,7 +535,7 @@ extension JSON {
}

/**
Find a json in the complex data structuresby using the Int/String's array.
Find a json in the complex data structures by using the Int/String's array.

- parameter path: The target json's path. Example:

Expand Down