A B C D E G H I J K L M N O P Q R S T U V W X

A

accumulate(String, Object) - Method in class org.json.JSONObject
Accumulate values under a key.
addColumn(int, String, Object) - Method in class gov.nist.registry.syslog.util.TableModelSyslog
 
AMP - Static variable in class org.json.XML
The Character '&'.
APOS - Static variable in class org.json.XML
The Character '''.
append(String, Object) - Method in class org.json.JSONObject
Append values to the array under a key.
array() - Method in class org.json.JSONWriter
Begin appending a new array.
ASCENDING - Static variable in class gov.nist.registry.syslog.util.TableSorter
 
AuthenticationServlet - Class in gov.nist.registry.syslog.servlets
This class is a servlet used to display xds messages received by the server implemented
in the xdslog project.
AuthenticationServlet() - Constructor for class gov.nist.registry.syslog.servlets.AuthenticationServlet
 

B

back() - Method in class org.json.JSONTokener
Back up one character.
BANG - Static variable in class org.json.XML
The Character '!'.
Base64Coder - Class in gov.nist.registry.syslog.util
A Base64 Encoder/Decoder.

C

CDL - Class in org.json
This provides static methods to convert comma delimited text into a JSONArray, and to covert a JSONArray into comma delimited text.
CDL() - Constructor for class org.json.CDL
 
COMPARABLE_COMAPRATOR - Static variable in class gov.nist.registry.syslog.util.TableSorter
 
Cookie - Class in org.json
Convert a web browser cookie specification to a JSONObject and back.
Cookie() - Constructor for class org.json.Cookie
 
CookieList - Class in org.json
Convert a web browser cookie list string to a JSONObject and back.
CookieList() - Constructor for class org.json.CookieList
 
CRLF - Static variable in class org.json.HTTP
Carriage return/line feed.

D

database - Static variable in class gov.nist.registry.syslog.util.TableModelSyslog
 
decode(String) - Static method in class gov.nist.registry.syslog.util.Base64Coder
Decodes a byte array from Base64 format.
decode(char[]) - Static method in class gov.nist.registry.syslog.util.Base64Coder
Decodes a byte array from Base64 format.
decodeString(String) - Static method in class gov.nist.registry.syslog.util.Base64Coder
Decodes a string from Base64 format.
dehexchar(char) - Static method in class org.json.JSONTokener
Get the hex value of a character (base16).
DeleteMessages - Class in gov.nist.registry.syslog.servlets
 
DeleteMessages() - Constructor for class gov.nist.registry.syslog.servlets.DeleteMessages
 
DESCENDING - Static variable in class gov.nist.registry.syslog.util.TableSorter
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class gov.nist.registry.syslog.servlets.GetDateServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class gov.nist.registry.syslog.servlets.GetFieldRulesServlet
Handles the HTTP GET method.
doGet(HttpServletRequest, HttpServletResponse) - Method in class gov.nist.registry.syslog.servlets.GetHost
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class gov.nist.registry.syslog.servlets.GetMessageServlet
Handles the HTTP GET method.
doPost(HttpServletRequest, HttpServletResponse) - Method in class gov.nist.registry.syslog.servlets.AuthenticationServlet
Entry point of the servlet
doPost(HttpServletRequest, HttpServletResponse) - Method in class gov.nist.registry.syslog.servlets.DeleteMessages
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class gov.nist.registry.syslog.servlets.GetTableServlet
 
doubleToString(double) - Static method in class org.json.JSONObject
Produce a string from a double.

E

encode(byte[]) - Static method in class gov.nist.registry.syslog.util.Base64Coder
Encodes a byte array into Base64 format.
encode(byte[], int) - Static method in class gov.nist.registry.syslog.util.Base64Coder
Encodes a byte array into Base64 format.
encodeString(String) - Static method in class gov.nist.registry.syslog.util.Base64Coder
Encodes a string into Base64 format.
endArray() - Method in class org.json.JSONWriter
End an array.
endObject() - Method in class org.json.JSONWriter
End an object.
entity - Static variable in class org.json.XMLTokener
The table of entity values.
EQ - Static variable in class org.json.XML
The Character '='.
escape(String) - Static method in class org.json.Cookie
Produce a copy of a string in which the characters '+', '%', '=', ';' and control characters are replaced with "%hh".
escape(String) - Static method in class org.json.XML
Replace special characters with XML escapes:

G

get(int) - Method in class org.json.JSONArray
Get the object value associated with an index.
get(String) - Method in class org.json.JSONObject
Get the value object associated with a key.
getBoolean(int) - Method in class org.json.JSONArray
Get the boolean value associated with an index.
getBoolean(String) - Method in class org.json.JSONObject
Get the boolean value associated with a key.
getCause() - Method in exception org.json.JSONException
 
getColumnClass(int) - Method in class gov.nist.registry.syslog.util.TableModelSyslog
 
getColumnClass(int) - Method in class gov.nist.registry.syslog.util.TableSorter
 
getColumnCount() - Method in class gov.nist.registry.syslog.util.TableModelSyslog
 
getColumnCount() - Method in class gov.nist.registry.syslog.util.TableSorter
 
getColumnName(int) - Method in class gov.nist.registry.syslog.util.TableModelSyslog
 
getColumnName(int) - Method in class gov.nist.registry.syslog.util.TableSorter
 
getComparator(int) - Method in class gov.nist.registry.syslog.util.TableSorter
 
GetConnection(String) - Static method in class gov.nist.registry.syslog.servlets.AuthenticationServlet
 
getDataVector() - Method in class gov.nist.registry.syslog.util.TableModelSyslog
 
GetDateServlet - Class in gov.nist.registry.syslog.servlets
 
GetDateServlet() - Constructor for class gov.nist.registry.syslog.servlets.GetDateServlet
 
GetDBList() - Method in class gov.nist.registry.syslog.servlets.AuthenticationServlet
 
getDouble(int) - Method in class org.json.JSONArray
Get the double value associated with an index.
getDouble(String) - Method in class org.json.JSONObject
Get the double value associated with a key.
GetFieldRulesServlet - Class in gov.nist.registry.syslog.servlets
 
GetFieldRulesServlet() - Constructor for class gov.nist.registry.syslog.servlets.GetFieldRulesServlet
 
getHeaderRendererIcon(int, int) - Method in class gov.nist.registry.syslog.util.TableSorter
 
getHeaderVector() - Method in class gov.nist.registry.syslog.util.TableModelSyslog
 
GetHost - Class in gov.nist.registry.syslog.servlets
 
GetHost() - Constructor for class gov.nist.registry.syslog.servlets.GetHost
 
getInt(int) - Method in class org.json.JSONArray
Get the int value associated with an index.
getInt(String) - Method in class org.json.JSONObject
Get the int value associated with a key.
getJSONArray(int) - Method in class org.json.JSONArray
Get the JSONArray associated with an index.
getJSONArray(String) - Method in class org.json.JSONObject
Get the JSONArray value associated with a key.
getJSONObject(int) - Method in class org.json.JSONArray
Get the JSONObject associated with an index.
getJSONObject(String) - Method in class org.json.JSONObject
Get the JSONObject value associated with a key.
getLong(int) - Method in class org.json.JSONArray
Get the long value associated with an index.
getLong(String) - Method in class org.json.JSONObject
Get the long value associated with a key.
GetMessageServlet - Class in gov.nist.registry.syslog.servlets
 
GetMessageServlet() - Constructor for class gov.nist.registry.syslog.servlets.GetMessageServlet
 
getNames(JSONObject) - Static method in class org.json.JSONObject
Get an array of field names from a JSONObject.
getNames(Object) - Static method in class org.json.JSONObject
Get an array of field names from an Object.
getRowCount() - Method in class gov.nist.registry.syslog.util.TableModelSyslog
 
getRowCount() - Method in class gov.nist.registry.syslog.util.TableSorter
 
getSortingStatus(int) - Method in class gov.nist.registry.syslog.util.TableSorter
 
getString(int) - Method in class org.json.JSONArray
Get the string associated with an index.
getString(String) - Method in class org.json.JSONObject
Get the string associated with a key.
getTableHeader() - Method in class gov.nist.registry.syslog.util.TableSorter
 
getTableModel() - Method in class gov.nist.registry.syslog.util.TableSorter
 
GetTableServlet - Class in gov.nist.registry.syslog.servlets
 
GetTableServlet() - Constructor for class gov.nist.registry.syslog.servlets.GetTableServlet
 
getValueAt(int, int) - Method in class gov.nist.registry.syslog.util.TableModelSyslog
 
getValueAt(int, int) - Method in class gov.nist.registry.syslog.util.TableSorter
 
getXmlString() - Method in class gov.nist.registry.syslog.util.TableModelSyslog
 
gov.nist.registry.syslog.servlets - package gov.nist.registry.syslog.servlets
 
gov.nist.registry.syslog.util - package gov.nist.registry.syslog.util
 
GT - Static variable in class org.json.XML
The Character '>'.

H

has(String) - Method in class org.json.JSONObject
Determine if the JSONObject contains a specific key.
HTTP - Class in org.json
Convert an HTTP header to a JSONObject and back.
HTTP() - Constructor for class org.json.HTTP
 
HTTPTokener - Class in org.json
The HTTPTokener extends the JSONTokener to provide additional methods for the parsing of HTTP headers.
HTTPTokener(String) - Constructor for class org.json.HTTPTokener
Construct an XMLTokener from a string.

I

init(ServletConfig) - Method in class gov.nist.registry.syslog.servlets.AuthenticationServlet
 
init(ServletConfig) - Method in class gov.nist.registry.syslog.servlets.DeleteMessages
 
init(ServletConfig) - Method in class gov.nist.registry.syslog.servlets.GetDateServlet
 
init(ServletConfig) - Method in class gov.nist.registry.syslog.servlets.GetHost
 
init(ServletConfig) - Method in class gov.nist.registry.syslog.servlets.GetMessageServlet
 
init(ServletConfig) - Method in class gov.nist.registry.syslog.servlets.GetTableServlet
 
isCellEditable(int, int) - Method in class gov.nist.registry.syslog.util.TableModelSyslog
 
isCellEditable(int, int) - Method in class gov.nist.registry.syslog.util.TableSorter
 
isNull(int) - Method in class org.json.JSONArray
Determine if the value is null.
isNull(String) - Method in class org.json.JSONObject
Determine if the value associated with the key is null or if there is no value.
isSorting() - Method in class gov.nist.registry.syslog.util.TableSorter
 

J

join(String) - Method in class org.json.JSONArray
Make a string from the contents of this JSONArray.
JSONArray - Class in org.json
A JSONArray is an ordered sequence of values.
JSONArray() - Constructor for class org.json.JSONArray
Construct an empty JSONArray.
JSONArray(JSONTokener) - Constructor for class org.json.JSONArray
Construct a JSONArray from a JSONTokener.
JSONArray(String) - Constructor for class org.json.JSONArray
Construct a JSONArray from a source JSON text.
JSONArray(Collection) - Constructor for class org.json.JSONArray
Construct a JSONArray from a Collection.
JSONArray(Object) - Constructor for class org.json.JSONArray
Construct a JSONArray from an array
JSONException - Exception in org.json
The JSONException is thrown by the JSON.org classes then things are amiss.
JSONException(String) - Constructor for exception org.json.JSONException
Constructs a JSONException with an explanatory message.
JSONException(Throwable) - Constructor for exception org.json.JSONException
 
JSONObject - Class in org.json
A JSONObject is an unordered collection of name/value pairs.
JSONObject() - Constructor for class org.json.JSONObject
Construct an empty JSONObject.
JSONObject(JSONObject, String[]) - Constructor for class org.json.JSONObject
Construct a JSONObject from a subset of another JSONObject.
JSONObject(JSONTokener) - Constructor for class org.json.JSONObject
Construct a JSONObject from a JSONTokener.
JSONObject(Map) - Constructor for class org.json.JSONObject
Construct a JSONObject from a Map.
JSONObject(Object) - Constructor for class org.json.JSONObject
Construct a JSONObject from an Object using bean getters.
JSONObject(Object, String[]) - Constructor for class org.json.JSONObject
Construct a JSONObject from an Object, using reflection to find the public members.
JSONObject(String) - Constructor for class org.json.JSONObject
Construct a JSONObject from a source JSON text string.
JSONString - Interface in org.json
The JSONString interface allows a toJSONString() method so that a class can change the behavior of JSONObject.toString(), JSONArray.toString(), and JSONWriter.value(Object).
JSONStringer - Class in org.json
JSONStringer provides a quick and convenient way of producing JSON text.
JSONStringer() - Constructor for class org.json.JSONStringer
Make a fresh JSONStringer.
JSONTokener - Class in org.json
A JSONTokener takes a source string and extracts characters and tokens from it.
JSONTokener(String) - Constructor for class org.json.JSONTokener
Construct a JSONTokener from a string.
JSONWriter - Class in org.json
JSONWriter provides a quick and convenient way of producing JSON text.
JSONWriter(Writer) - Constructor for class org.json.JSONWriter
Make a fresh JSONWriter.

K

key(String) - Method in class org.json.JSONWriter
Append a key.
keys() - Method in class org.json.JSONObject
Get an enumeration of the keys of the JSONObject.

L

length() - Method in class org.json.JSONArray
Get the number of elements in the JSONArray, included nulls.
length() - Method in class org.json.JSONObject
Get the number of keys stored in the JSONObject.
LEXICAL_COMPARATOR - Static variable in class gov.nist.registry.syslog.util.TableSorter
 
log - Variable in class gov.nist.registry.syslog.servlets.AuthenticationServlet
 
LT - Static variable in class org.json.XML
The Character '<'.

M

main(String[]) - Static method in class org.json.Test
Entry point.
mode - Variable in class org.json.JSONWriter
The current mode.
modelIndex(int) - Method in class gov.nist.registry.syslog.util.TableSorter
 
more() - Method in class org.json.JSONTokener
Determine if the source string still contains characters that next() can consume.

N

names() - Method in class org.json.JSONObject
Produce a JSONArray containing the names of the elements of this JSONObject.
next() - Method in class org.json.JSONTokener
Get the next character in the source string.
next(char) - Method in class org.json.JSONTokener
Consume the next character, and check that it matches a specified character.
next(int) - Method in class org.json.JSONTokener
Get the next n characters.
nextCDATA() - Method in class org.json.XMLTokener
Get the text in the CDATA block.
nextClean() - Method in class org.json.JSONTokener
Get the next char in the string, skipping whitespace and comments (slashslash, slashstar, and hash).
nextContent() - Method in class org.json.XMLTokener
Get the next XML outer token, trimming whitespace.
nextEntity(char) - Method in class org.json.XMLTokener
Return the next entity.
nextMeta() - Method in class org.json.XMLTokener
Returns the next XML meta token.
nextString(char) - Method in class org.json.JSONTokener
Return the characters up to the next close quote character.
nextTo(char) - Method in class org.json.JSONTokener
Get the text up but not including the specified character or the end of line, whichever comes first.
nextTo(String) - Method in class org.json.JSONTokener
Get the text up but not including one of the specified delimeter characters or the end of line, whichever comes first.
nextToken() - Method in class org.json.HTTPTokener
Get the next token or string.
nextToken() - Method in class org.json.XMLTokener
Get the next XML Token.
nextValue() - Method in class org.json.JSONTokener
Get the next value.
NOT_SORTED - Static variable in class gov.nist.registry.syslog.util.TableSorter
 
NULL - Static variable in class org.json.JSONObject
It is sometimes more convenient and less ambiguous to have a NULL object than to use Java's null value.
numberToString(Number) - Static method in class org.json.JSONObject
Produce a string from a Number.

O

object() - Method in class org.json.JSONWriter
Begin appending a new object.
opt(int) - Method in class org.json.JSONArray
Get the optional object value associated with an index.
opt(String) - Method in class org.json.JSONObject
Get an optional value associated with a key.
optBoolean(int) - Method in class org.json.JSONArray
Get the optional boolean value associated with an index.
optBoolean(int, boolean) - Method in class org.json.JSONArray
Get the optional boolean value associated with an index.
optBoolean(String) - Method in class org.json.JSONObject
Get an optional boolean associated with a key.
optBoolean(String, boolean) - Method in class org.json.JSONObject
Get an optional boolean associated with a key.
optDouble(int) - Method in class org.json.JSONArray
Get the optional double value associated with an index.
optDouble(int, double) - Method in class org.json.JSONArray
Get the optional double value associated with an index.
optDouble(String) - Method in class org.json.JSONObject
Get an optional double associated with a key, or NaN if there is no such key or if its value is not a number.
optDouble(String, double) - Method in class org.json.JSONObject
Get an optional double associated with a key, or the defaultValue if there is no such key or if its value is not a number.
optInt(int) - Method in class org.json.JSONArray
Get the optional int value associated with an index.
optInt(int, int) - Method in class org.json.JSONArray
Get the optional int value associated with an index.
optInt(String) - Method in class org.json.JSONObject
Get an optional int value associated with a key, or zero if there is no such key or if the value is not a number.
optInt(String, int) - Method in class org.json.JSONObject
Get an optional int value associated with a key, or the default if there is no such key or if the value is not a number.
optJSONArray(int) - Method in class org.json.JSONArray
Get the optional JSONArray associated with an index.
optJSONArray(String) - Method in class org.json.JSONObject
Get an optional JSONArray associated with a key.
optJSONObject(int) - Method in class org.json.JSONArray
Get the optional JSONObject associated with an index.
optJSONObject(String) - Method in class org.json.JSONObject
Get an optional JSONObject associated with a key.
optLong(int) - Method in class org.json.JSONArray
Get the optional long value associated with an index.
optLong(int, long) - Method in class org.json.JSONArray
Get the optional long value associated with an index.
optLong(String) - Method in class org.json.JSONObject
Get an optional long value associated with a key, or zero if there is no such key or if the value is not a number.
optLong(String, long) - Method in class org.json.JSONObject
Get an optional long value associated with a key, or the default if there is no such key or if the value is not a number.
optString(int) - Method in class org.json.JSONArray
Get the optional string value associated with an index.
optString(int, String) - Method in class org.json.JSONArray
Get the optional string associated with an index.
optString(String) - Method in class org.json.JSONObject
Get an optional string associated with a key.
optString(String, String) - Method in class org.json.JSONObject
Get an optional string associated with a key.
org.json - package org.json
 

P

put(boolean) - Method in class org.json.JSONArray
Append a boolean value.
put(Collection) - Method in class org.json.JSONArray
Put a value in the JSONArray, where the value will be a JSONArray which is produced from a Collection.
put(double) - Method in class org.json.JSONArray
Append a double value.
put(int) - Method in class org.json.JSONArray
Append an int value.
put(long) - Method in class org.json.JSONArray
Append an long value.
put(Map) - Method in class org.json.JSONArray
Put a value in the JSONArray, where the value will be a JSONObject which is produced from a Map.
put(Object) - Method in class org.json.JSONArray
Append an object value.
put(int, boolean) - Method in class org.json.JSONArray
Put or replace a boolean value in the JSONArray.
put(int, Collection) - Method in class org.json.JSONArray
Put a value in the JSONArray, where the value will be a JSONArray which is produced from a Collection.
put(int, double) - Method in class org.json.JSONArray
Put or replace a double value.
put(int, int) - Method in class org.json.JSONArray
Put or replace an int value.
put(int, long) - Method in class org.json.JSONArray
Put or replace a long value.
put(int, Map) - Method in class org.json.JSONArray
Put a value in the JSONArray, where the value will be a JSONObject which is produced from a Map.
put(int, Object) - Method in class org.json.JSONArray
Put or replace an object value in the JSONArray.
put(String, Collection) - Method in class org.json.JSONObject
Put a key/value pair in the JSONObject, where the value will be a JSONArray which is produced from a Collection.
put(String, boolean) - Method in class org.json.JSONObject
Put a key/boolean pair in the JSONObject.
put(String, double) - Method in class org.json.JSONObject
Put a key/double pair in the JSONObject.
put(String, int) - Method in class org.json.JSONObject
Put a key/int pair in the JSONObject.
put(String, long) - Method in class org.json.JSONObject
Put a key/long pair in the JSONObject.
put(String, Map) - Method in class org.json.JSONObject
Put a key/value pair in the JSONObject, where the value will be a JSONObject which is produced from a Map.
put(String, Object) - Method in class org.json.JSONObject
Put a key/value pair in the JSONObject.
putOpt(String, Object) - Method in class org.json.JSONObject
Put a key/value pair in the JSONObject, but only if the key and the value are both non-null.

Q

QUEST - Static variable in class org.json.XML
The Character '?'.
QUOT - Static variable in class org.json.XML
The Character '"'.
quote(String) - Static method in class org.json.JSONObject
Produce a string in double quotes with backslash sequences in all the right places.

R

readFromFileToIPHosts(String, boolean) - Static method in class gov.nist.registry.syslog.servlets.GetHost
 
remove(String) - Method in class org.json.JSONObject
Remove a name and its value, if present.
rowToJSONArray(JSONTokener) - Static method in class org.json.CDL
Produce a JSONArray of strings from a row of comma delimited values.
rowToJSONObject(JSONArray, JSONTokener) - Static method in class org.json.CDL
Produce a JSONObject from a row of comma delimited text, using a parallel JSONArray of strings to provides the names of the elements.
rowToString(JSONArray) - Static method in class org.json.CDL
Produce a comma delimited text row from a JSONArray.

S

setColumnComparator(Class, Comparator) - Method in class gov.nist.registry.syslog.util.TableSorter
 
setCurrentSqlCommand(String) - Method in class gov.nist.registry.syslog.servlets.GetTableServlet
 
setSortingStatus(int, int) - Method in class gov.nist.registry.syslog.util.TableSorter
 
setTableHeader(JTableHeader) - Method in class gov.nist.registry.syslog.util.TableSorter
 
setTableModel(TableModel) - Method in class gov.nist.registry.syslog.util.TableSorter
 
setValueAt(Object, int, int) - Method in class gov.nist.registry.syslog.util.TableSorter
 
skipPast(String) - Method in class org.json.JSONTokener
Skip characters until past the requested string.
skipTo(char) - Method in class org.json.JSONTokener
Skip characters until the next character is the requested character.
SLASH - Static variable in class org.json.XML
The Character '/'.
syntaxError(String) - Method in class org.json.JSONTokener
Make a JSONException to signal a syntax error.

T

tableChanged(TableModelEvent) - Method in class gov.nist.registry.syslog.util.TableModelSyslog
 
tableModel - Variable in class gov.nist.registry.syslog.util.TableSorter
 
TableModelSyslog - Class in gov.nist.registry.syslog.util
 
TableModelSyslog() - Constructor for class gov.nist.registry.syslog.util.TableModelSyslog
 
TableModelSyslog(String, Connection) - Constructor for class gov.nist.registry.syslog.util.TableModelSyslog
 
TableModelSyslog(String, String, String, String) - Constructor for class gov.nist.registry.syslog.util.TableModelSyslog
 
TableSorter - Class in gov.nist.registry.syslog.util
TableSorter is a decorator for TableModels; adding sorting functionality to a supplied TableModel.
TableSorter() - Constructor for class gov.nist.registry.syslog.util.TableSorter
 
TableSorter(TableModel) - Constructor for class gov.nist.registry.syslog.util.TableSorter
 
TableSorter(TableModel, JTableHeader) - Constructor for class gov.nist.registry.syslog.util.TableSorter
 
Test - Class in org.json
Test class.
Test() - Constructor for class org.json.Test
 
toJSONArray(String) - Static method in class org.json.CDL
Produce a JSONArray of JSONObjects from a comma delimited text string, using the first row as a source of names.
toJSONArray(JSONTokener) - Static method in class org.json.CDL
Produce a JSONArray of JSONObjects from a comma delimited text string, using the first row as a source of names.
toJSONArray(JSONArray, String) - Static method in class org.json.CDL
Produce a JSONArray of JSONObjects from a comma delimited text string using a supplied JSONArray as the source of element names.
toJSONArray(JSONArray, JSONTokener) - Static method in class org.json.CDL
Produce a JSONArray of JSONObjects from a comma delimited text string using a supplied JSONArray as the source of element names.
toJSONArray(JSONArray) - Method in class org.json.JSONObject
Produce a JSONArray containing the values of the members of this JSONObject.
toJSONObject(String) - Static method in class org.json.Cookie
Convert a cookie specification string into a JSONObject.
toJSONObject(String) - Static method in class org.json.CookieList
Convert a cookie list into a JSONObject.
toJSONObject(String) - Static method in class org.json.HTTP
Convert an HTTP header string into a JSONObject.
toJSONObject(JSONArray) - Method in class org.json.JSONArray
Produce a JSONObject by combining a JSONArray of names with the values of this JSONArray.
toJSONObject(String) - Static method in class org.json.XML
Convert a well-formed (but not necessarily valid) XML string into a JSONObject.
toJSONString() - Method in interface org.json.JSONString
The toJSONString method allows a class to produce its own JSON serialization.
toString(JSONArray) - Static method in class org.json.CDL
Produce a comma delimited text from a JSONArray of JSONObjects.
toString(JSONArray, JSONArray) - Static method in class org.json.CDL
Produce a comma delimited text from a JSONArray of JSONObjects using a provided list of names.
toString(JSONObject) - Static method in class org.json.Cookie
Convert a JSONObject into a cookie specification string.
toString(JSONObject) - Static method in class org.json.CookieList
Convert a JSONObject into a cookie list.
toString(JSONObject) - Static method in class org.json.HTTP
Convert a JSONObject into an HTTP header.
toString() - Method in class org.json.JSONArray
Make a JSON text of this JSONArray.
toString(int) - Method in class org.json.JSONArray
Make a prettyprinted JSON text of this JSONArray.
toString() - Method in class org.json.JSONObject
Make a JSON text of this JSONObject.
toString(int) - Method in class org.json.JSONObject
Make a prettyprinted JSON text of this JSONObject.
toString() - Method in class org.json.JSONStringer
Return the JSON text.
toString() - Method in class org.json.JSONTokener
Make a printable string of this JSONTokener.
toString(Object) - Static method in class org.json.XML
Convert a JSONObject into a well-formed, element-normal XML string.
toString(Object, String) - Static method in class org.json.XML
Convert a JSONObject into a well-formed, element-normal XML string.

U

unescape(String) - Static method in class org.json.Cookie
Convert %hh sequences to single characters, and convert plus to space.

V

value(boolean) - Method in class org.json.JSONWriter
Append either the value true or the value false.
value(double) - Method in class org.json.JSONWriter
Append a double value.
value(long) - Method in class org.json.JSONWriter
Append a long value.
value(Object) - Method in class org.json.JSONWriter
Append an object value.

W

write(Writer) - Method in class org.json.JSONArray
Write the contents of the JSONArray as JSON text to a writer.
write(Writer) - Method in class org.json.JSONObject
Write the contents of the JSONObject as JSON text to a writer.
writer - Variable in class org.json.JSONWriter
The writer that will receive the output.

X

XML - Class in org.json
This provides static methods to convert an XML text into a JSONObject, and to covert a JSONObject into an XML text.
XML() - Constructor for class org.json.XML
 
XMLTokener - Class in org.json
The XMLTokener extends the JSONTokener to provide additional methods for the parsing of XML texts.
XMLTokener(String) - Constructor for class org.json.XMLTokener
Construct an XMLTokener from a string.

A B C D E G H I J K L M N O P Q R S T U V W X