Overview
Represents a JSON Array
Attribute Summary
name | type | description |
---|---|---|
Public | ||
array | Object[] |
Contains the items in the array |
list | List |
Convenience attribute to load array from a java.util.List |
Protected |
Inherited Attributes
javafx.json.JSONBase
public | name | type |
---|---|---|
doIndent | Boolean |
indicates whether or not indenting should be used when printing or serializing. |
indent | Integer |
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
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.