|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
com.alibaba.fastjson Class JSONWriter
java.lang.Object com.alibaba.fastjson.JSONWriter
public class JSONWriter
- extends Object
Nested Class Summary | |
---|---|
static class |
JSONWriter.Context
|
static class |
JSONWriter.State
|
Constructor Summary | |
---|---|
JSONWriter(Writer out)
|
Method Summary | |
---|---|
void |
close()
|
void |
flush()
|
void |
writeEndArray()
|
void |
writeEndObject()
|
void |
writeKey(String key)
|
void |
writeStartArray()
|
void |
writeStartObject()
|
void |
writeValue(Object object)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
JSONWriter
public JSONWriter(Writer out)
Method Detail |
---|
flush
public void flush() throws IOException
- Throws:
IOException
close
public void close() throws IOException
- Throws:
IOException
writeStartObject
public void writeStartObject()
writeEndObject
public void writeEndObject()
writeKey
public void writeKey(String key)
writeValue
public void writeValue(Object object)
writeStartArray
public void writeStartArray()
writeEndArray
public void writeEndArray()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2012 Alibaba Group. All Rights Reserved.