public interface JSONArtifact
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | serialize()Convert this object into a String of JSON text. | 
| java.lang.String | serialize(boolean verbose)Convert this object into a String of JSON text, specifying verbosity. | 
| void | serialize(java.io.OutputStream os)Convert this object into a stream of JSON text. | 
| void | serialize(java.io.OutputStream os,
         boolean verbose)Convert this object into a stream of JSON text. | 
| void | serialize(java.io.Writer writer)Convert this object into a stream of JSON text. | 
| void | serialize(java.io.Writer writer,
         boolean verbose)Convert this object into a stream of JSON text, specifying verbosity. | 
void serialize(java.io.OutputStream os)
               throws java.io.IOException
os - The output stream to serialize data to.java.io.IOException - Thrown on IO errors during serialization.void serialize(java.io.OutputStream os,
             boolean verbose)
               throws java.io.IOException
os - The output stream to serialize data to.verbose - Whether or not to write the JSON text in a verbose format.java.io.IOException - Thrown on IO errors during serialization.void serialize(java.io.Writer writer)
               throws java.io.IOException
writer - The writer which to serialize the JSON text to.java.io.IOException - Thrown on IO errors during serialization.void serialize(java.io.Writer writer,
             boolean verbose)
               throws java.io.IOException
writer - The writer which to serialize the JSON text to.java.io.IOException - Thrown on IO errors during serialization.java.lang.String serialize(boolean verbose)
                           throws java.io.IOException
verbose - Whether or not to serialize in compressed for formatted Strings.java.io.IOException - Thrown on IO errors during serialization.java.lang.String serialize()
                           throws java.io.IOException
java.io.IOException - Thrown on IO errors during serialization.