本文整理了Java中com.atlassian.jira.util.json.JSONArray.write()
方法的一些代码示例,展示了JSONArray.write()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。JSONArray.write()
方法的具体详情如下:
包路径:com.atlassian.jira.util.json.JSONArray
类名称:JSONArray
方法名:write
[英]Write the contents of the JSONArray as JSON text to a writer. For compactness, no whitespace is added.
Warning: This method assumes that the data structure is acyclic.
[中]将JSONArray的内容作为JSON文本写入编写器。对于紧凑性,不添加空格。
警告:此方法假定数据结构是非循环的。
代码示例来源:origin: com.atlassian.jira/jira-postsetup-announcements-plugin
@Override
public void write(final Writer writer) throws IOException
{
try
{
getAnnouncementsData().write(writer);
}
catch (JSONException e)
{
throw new JsonMappingException(e);
}
}
};
代码示例来源:origin: com.atlassian.jira/jira-api
((JSONArray) v).write(writer);
代码示例来源:origin: com.atlassian.jira/jira-api
((JSONArray) v).write(writer);
内容来源于网络,如有侵权,请联系作者删除!