org.apache.wink.json4j.compat
Interface JSONWriter
- All Known Subinterfaces:
- JSONStringer
- All Known Implementing Classes:
- ApacheJSONStringerDelegate, ApacheJSONWriterDelegate
public interface JSONWriter
array
JSONWriter array()
throws java.io.IOException,
java.lang.IllegalStateException
- Throws:
java.io.IOException
java.lang.IllegalStateException
endArray
JSONWriter endArray()
throws java.io.IOException,
java.lang.IllegalStateException
- Throws:
java.io.IOException
java.lang.IllegalStateException
endObject
JSONWriter endObject()
throws java.io.IOException,
java.lang.IllegalStateException
- Throws:
java.io.IOException
java.lang.IllegalStateException
key
JSONWriter key(java.lang.String s)
throws java.io.IOException,
java.lang.IllegalStateException
- Throws:
java.io.IOException
java.lang.IllegalStateException
object
JSONWriter object()
throws java.io.IOException,
java.lang.IllegalStateException
- Throws:
java.io.IOException
java.lang.IllegalStateException
value
JSONWriter value(boolean b)
throws java.io.IOException,
java.lang.IllegalStateException
- Throws:
java.io.IOException
java.lang.IllegalStateException
value
JSONWriter value(double d)
throws java.io.IOException,
java.lang.IllegalStateException
- Throws:
java.io.IOException
java.lang.IllegalStateException
value
JSONWriter value(long l)
throws java.io.IOException,
java.lang.IllegalStateException
- Throws:
java.io.IOException
java.lang.IllegalStateException
value
JSONWriter value(short s)
throws java.io.IOException,
java.lang.IllegalStateException
- Throws:
java.io.IOException
java.lang.IllegalStateException
value
JSONWriter value(java.lang.Object o)
throws java.io.IOException,
java.lang.IllegalStateException,
JSONException
- Throws:
java.io.IOException
java.lang.IllegalStateException
JSONException
close
void close()
throws java.io.IOException,
java.lang.IllegalStateException
- Throws:
java.io.IOException
java.lang.IllegalStateException
flush
JSONWriter flush()
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2009-2013 The Apache Software Foundation. All Rights Reserved.