Package com.restfb.json
Class UnicodeJsonWriter
- java.lang.Object
-
- com.restfb.json.UnicodeJsonWriter
-
public class UnicodeJsonWriter extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static char[]
BS_CHARS
protected static char[]
CR_CHARS
protected static char[]
HEX_DIGITS
protected static char[]
LF_CHARS
protected static char[]
NO_CHARS
protected static char[]
QUOT_CHARS
protected static char[]
TAB_CHARS
protected Writer
writer
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected char[]
getReplacementChars(char ch)
protected void
writeArrayClose()
protected void
writeArrayOpen()
protected void
writeArraySeparator()
protected void
writeJsonString(String string)
protected void
writeLiteral(String value)
protected void
writeMemberName(String name)
protected void
writeMemberSeparator()
protected void
writeNumber(String string)
protected void
writeObjectClose()
protected void
writeObjectOpen()
protected void
writeObjectSeparator()
protected void
writeString(String string)
-
-
-
Field Detail
-
NO_CHARS
protected static final char[] NO_CHARS
-
QUOT_CHARS
protected static final char[] QUOT_CHARS
-
BS_CHARS
protected static final char[] BS_CHARS
-
LF_CHARS
protected static final char[] LF_CHARS
-
CR_CHARS
protected static final char[] CR_CHARS
-
TAB_CHARS
protected static final char[] TAB_CHARS
-
HEX_DIGITS
protected static final char[] HEX_DIGITS
-
writer
protected final Writer writer
-
-
Method Detail
-
getReplacementChars
protected char[] getReplacementChars(char ch)
-
writeLiteral
protected void writeLiteral(String value) throws IOException
- Throws:
IOException
-
writeNumber
protected void writeNumber(String string) throws IOException
- Throws:
IOException
-
writeString
protected void writeString(String string) throws IOException
- Throws:
IOException
-
writeArrayOpen
protected void writeArrayOpen() throws IOException
- Throws:
IOException
-
writeArrayClose
protected void writeArrayClose() throws IOException
- Throws:
IOException
-
writeArraySeparator
protected void writeArraySeparator() throws IOException
- Throws:
IOException
-
writeObjectOpen
protected void writeObjectOpen() throws IOException
- Throws:
IOException
-
writeObjectClose
protected void writeObjectClose() throws IOException
- Throws:
IOException
-
writeMemberName
protected void writeMemberName(String name) throws IOException
- Throws:
IOException
-
writeMemberSeparator
protected void writeMemberSeparator() throws IOException
- Throws:
IOException
-
writeObjectSeparator
protected void writeObjectSeparator() throws IOException
- Throws:
IOException
-
writeJsonString
protected void writeJsonString(String string) throws IOException
- Throws:
IOException
-
-