Package | Description |
---|---|
org.pageseeder.berlioz.aeson |
Modifier and Type | Method and Description |
---|---|
JSONWriter |
JSONWriter.end()
Writes the end of the current context.
|
static JSONWriter |
JSONWriterFactory.newInstance(OutputStream out)
Always return a JSON Writer.
|
static JSONWriter |
JSONWriterFactory.newInstance(Writer writer)
Always return a JSON Writer.
|
JSONWriter |
JSONWriter.property(String name,
boolean value)
Writes a JSON name/boolean value pair in the current object context.
|
JSONWriter |
JSONWriter.property(String name,
double value)
Writes a JSON name/boolean value pair in the current object context.
|
JSONWriter |
JSONWriter.property(String name,
long value)
Writes a JSON name/boolean value pair in the current object context.
|
JSONWriter |
JSONWriter.property(String name,
String value)
Writes a JSON name/boolean value pair in the current object context.
|
JSONWriter |
JSONWriter.startArray()
Start writing a JSON array in the context of an array.
|
JSONWriter |
JSONWriter.startArray(String name)
Start writing a JSON array in the context of an object.
|
JSONWriter |
JSONWriter.startObject()
Start writing a JSON object in the context of an array.
|
JSONWriter |
JSONWriter.startObject(String name)
Start writing a JSON object in the context of an object.
|
JSONWriter |
JSONWriter.value(boolean number)
Writes the specified value as a JSON value within the current array context.
|
JSONWriter |
JSONWriter.value(double number)
Writes the specified value as a JSON value within the current array context.
|
JSONWriter |
JSONWriter.value(long number)
Writes the specified value as a JSON value within the current array context.
|
JSONWriter |
JSONWriter.value(String number)
Writes the specified value as a JSON value within the current array context.
|
JSONWriter |
JSONWriter.writeNull()
Start writing a JSON object in the context of an array.
|
JSONWriter |
JSONWriter.writeNull(String name)
Start writing a JSON object in the context of an array.
|
JSONWriter |
JSONWriter.writeNull2()
Writes a
null value. |
JSONWriter |
JSONWriter.writeNull2(String name)
Writes a value-pair which value is
null . |
Copyright © 2016 Allette Systems. All rights reserved.