Skip to content

Commit 9ffcbc3

Browse files
crazytonylimokagio
andauthored
Update documentation: "json" -> "JSON"
Co-authored-by: Gio Lodi <giovanni.lodi42@gmail.com>
1 parent a802898 commit 9ffcbc3

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

WordPress/WordPressTest/TestUtilities/JSONLoader.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ import Foundation
44
@objc open class JSONLoader: NSObject {
55
public typealias JSONDictionary = Dictionary<String, AnyObject>
66

7-
/// Loads the specified json file and returns a dictionary representing it.
7+
/// Loads the specified JSON file and returns a dictionary representing it.
88
///
99
/// - Parameters:
1010
/// - name: The name of the file
1111
/// - type: The extension of the file
12-
/// - Returns: A dictionary representing the contents of the json file.
12+
/// - Returns: A dictionary representing the contents of the JSON file.
1313
open func loadFile(_ name: String, type: String) -> JSONDictionary? {
1414

1515
let path = Bundle(for: Swift.type(of: self)).path(forResource: name, ofType: type)

0 commit comments

Comments
 (0)