Package | Description |
---|---|
org.apache.solr.common.util |
Common utility classes reused on both clients & server.
|
org.noggit |
Fork of the Noggit JSON parser.
|
Modifier and Type | Method and Description |
---|---|
static byte[] |
Utils.toUTF8(CharArr out) |
static void |
ByteUtils.UTF8toUTF16(byte[] utf8,
int offset,
int len,
CharArr out)
Convert UTF8 bytes into UTF16 characters.
|
Modifier and Type | Field and Description |
---|---|
protected CharArr |
JSONWriter.out |
Modifier and Type | Method and Description |
---|---|
CharArr |
JSONParser.getNumberChars()
Returns the characters of a JSON numeric value.
|
CharArr |
JSONParser.getStringChars()
Returns the characters of a JSON string value, decoding any escaped characters.
|
CharArr |
CharArr.subSequence(int start,
int end) |
Modifier and Type | Method and Description |
---|---|
void |
JSONParser.getNumberChars(CharArr output)
Reads a JSON numeric value into the output.
|
void |
JSONParser.getString(CharArr output)
Reads a JSON string into the output, decoding any escaped characters.
|
static void |
JSONUtil.unicodeEscape(int ch,
CharArr out) |
void |
CharArr.write(CharArr arr) |
static void |
JSONUtil.writeBoolean(boolean val,
CharArr out) |
static void |
JSONUtil.writeChar(char ch,
CharArr out) |
static void |
JSONUtil.writeNull(CharArr out) |
void |
JSONWriter.writeNumber(CharArr digits) |
static void |
JSONUtil.writeNumber(double number,
CharArr out) |
static void |
JSONUtil.writeNumber(float number,
CharArr out) |
static void |
JSONUtil.writeNumber(int number,
CharArr out) |
static void |
JSONUtil.writeNumber(long number,
CharArr out) |
void |
JSONWriter.writePartialNumber(CharArr digits) |
static void |
JSONUtil.writeString(char[] val,
int start,
int end,
CharArr out) |
void |
JSONWriter.writeString(CharArr str) |
static void |
JSONUtil.writeString(CharArr val,
CharArr out) |
static void |
JSONUtil.writeString(CharSequence val,
int start,
int end,
CharArr out) |
static void |
JSONUtil.writeString(String val,
int start,
int end,
CharArr out) |
void |
JSONWriter.writeStringChars(CharArr partialStr) |
static void |
JSONUtil.writeStringPart(char[] val,
int start,
int end,
CharArr out) |
static void |
JSONUtil.writeStringPart(CharSequence chars,
int start,
int end,
CharArr out) |
static void |
JSONUtil.writeStringPart(String chars,
int start,
int end,
CharArr out) |
Constructor and Description |
---|
JSONWriter(CharArr out) |
JSONWriter(CharArr out,
int indentSize) |
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.