The following example shows how to write JSON data to a file using the streaming API: FileWriter writer = new FileWriter("test.txt"); JsonGenerator gen = Json.
確定! 回上一頁