Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有人可以帮我把它转换String成Map...
String
Map
String str = "{"id":1,"result":[{"employeeId":131969,"id":1164299,"name":"Prosjekt","javaClass":"no.tripletex.tcp.model.Project","number":"","displayName":"Prosjekt"}]}"
从字符串的格式来看,无论您使用哪种语言,您似乎都需要一个 JSON 解析器。
这里有很多json解析器
这是一个 Java json 解析器,你可以按照它的示例进行操作。