We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a802898 commit 9ffcbc3Copy full SHA for 9ffcbc3
1 file changed
WordPress/WordPressTest/TestUtilities/JSONLoader.swift
@@ -4,12 +4,12 @@ import Foundation
4
@objc open class JSONLoader: NSObject {
5
public typealias JSONDictionary = Dictionary<String, AnyObject>
6
7
- /// Loads the specified json file and returns a dictionary representing it.
+ /// Loads the specified JSON file and returns a dictionary representing it.
8
///
9
/// - Parameters:
10
/// - name: The name of the file
11
/// - type: The extension of the file
12
- /// - Returns: A dictionary representing the contents of the json file.
+ /// - Returns: A dictionary representing the contents of the JSON file.
13
open func loadFile(_ name: String, type: String) -> JSONDictionary? {
14
15
let path = Bundle(for: Swift.type(of: self)).path(forResource: name, ofType: type)
0 commit comments