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