The result of a toJson call is a String containing the JSON code. def json = JsonOutput.toJson([name: 'John Doe', age: 42]) assert json == '{"name":"John ...
確定! 回上一頁