文件名称:JSONData:从 JSON(NSDictionary 或 NSArray)获取数据的简单查询
文件大小:1KB
文件格式:ZIP
更新时间:2024-08-09 05:32:29
Swift
仅适用于 NSDictionary , NSArray var response:NSDictionary = [ " Hello " : [ " World " : " Data " ]] println ( JSONData (response). get ( " Hello.World " )) // Data response = [ " Hello " : [[ " A " : " B " ],[ " C " : " D " ]]] println ( JSONData (response). get ( " Hello.0.A " )) // B var sampleArr:NSArray = [[ " A " : " B " ],[ " C " : " D " ]] var json = JSONData (sampleArr) println (json. get (
【文件预览】:
JSONData-master
----JSONData.swift(2KB)
----README.md(626B)