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.
我正在使用 Grails 1.3.9 开发一个项目,我需要解析一个JSON文件并读取一些值。这可以很容易地完成,JsonSlurper但仅支持 Grails 1.8 和更高版本。有没有其他技术可以实现这一目标?
JSON
JsonSlurper
知道了
def parsedJSON = JSON.parse(new FileInputStream(file), "UTF-8")