Overview

Represents a JSON Array

Attribute Summary

nametypedescription
Public
arrayObject[]

Contains the items in the array

listList

Convenience attribute to load array from a java.util.List

Protected

Inherited Attributes

javafx.json.JSONBase

publicnametype
doIndentBoolean

indicates whether or not indenting should be used when printing or serializing.

indentInteger

Holds the number of spaces for indenting when printing or serializing.

Function Summary

protected serialize(writer: Writer, curIndent: Integer, indentAmount: Integer, ) : Void

Convert the JSON array to JSON format.

Inherited Functions

javafx.json.JSONBase

public serialize(writer: Writer, ) : Void

Convert the JSON Object to JSON format.

protected abstract serialize(writer: Writer, curIndent: Integer, indentAmount: Integer, ) : Void

Convert the JSON Object to JSON format.

public toString() : String

Convert the JSON Object to JSON format.

Attributes

public array: Object[]

Contains the items in the array

public list: List

Convenience attribute to load array from a java.util.List

Functions

protected serialize(writer: Writer, curIndent: Integer, indentAmount: Integer, ):Void

Parameters
writer
the java.io.Writer that will receive the formated JSON stream.
curIndent
the current indent amount
indentAmount
the amount to indent from the curIndent for the next indent level

Convert the JSON array to JSON format. Output is written to the Writer.