in sdk/core/AzureCore/Source/DataStructures/Collections.swift [61:75]
func items(fromJson json: [String: Any]) -> [Any]? {
var results: [Any]?
let components = items.components(separatedBy: ".")
var current = json
for component in components {
guard let temp = current[component] else { return nil }
if let tempArray = temp as? [Any] {
guard results == nil else { return nil }
results = tempArray
} else if let tempJson = temp as? [String: Any] {
current = tempJson
}
}
return results
}