JSONArrayValue (object)

バージョン 1.13.0 で追加.

A specialized JSONValue for arrays.

JSONArrayValue JSONArrayValue JSONArrayValue JSONValue JSONValue JSONArrayValue->JSONValue

Methods

  JSONArrayValue ( in JSONArrayValue other )
  JSONArrayValue ()
  add ! ( in JSONValue value )
  addBoolean ! ( in Boolean value )
  addInteger ! ( in Integer value )
  addScalar ! ( in Scalar value )
  addString ! ( in String value )
  appendDesc ? ( io String string )
JSONArrayValue clone ? ()
JSONValue get ? ( in Integer index )
Boolean getBoolean ? ( in Integer index )
Color getColor ? ( in Integer index )
Integer getInteger ? ( in Integer index )
Scalar getScalar ? ( in Integer index )
String getString ? ( in Integer index )
Vec2 getVec2 ? ( in Integer index )
Vec3 getVec3 ? ( in Integer index )
  merge ! ( in JSONArrayValue other )
  resize ! ( in Size size )
  set ! ( in Integer index, in JSONValue value )
  setBoolean ! ( in Integer index, in Boolean value )
  setColor ! ( in Integer index, in Color value )
  setInteger ! ( in Integer index, in Integer value )
  setScalar ! ( in Integer index, in Scalar value )
  setString ! ( in Integer index, in String value )
  setVec2 ! ( in Integer index, in Vec2 value )
  setVec3 ! ( in Integer index, in Vec3 value )
Size size ? ()
String[] toStringArray ? ()

Methods in detail

JSONArrayValue ( in JSONArrayValue other )

copy constructor


JSONArrayValue ()

default constructor


JSONArrayValue.add! ( in JSONValue value )

pushes an element to the internal array to a provided JSONValue


JSONArrayValue.addBoolean! ( in Boolean value )

pushes an element to the internal array to a provided Boolean


JSONArrayValue.addInteger! ( in Integer value )

pushes an element to the internal array to a provided Integer


JSONArrayValue.addScalar! ( in Scalar value )

pushes an element to the internal array to a provided Scalar


JSONArrayValue.addString! ( in String value )

pushes an element to the internal array to a provided String


JSONArrayValue.appendDesc? ( io String string )


JSONArrayValue JSONArrayValue.clone? ()

clone method


JSONValue JSONArrayValue.get? ( in Integer index )

returns an array element as a JSONValue


Boolean JSONArrayValue.getBoolean? ( in Integer index )

returns an array element as a Boolean


Color JSONArrayValue.getColor? ( in Integer index )

returns an array element as a Color


Integer JSONArrayValue.getInteger? ( in Integer index )

returns an array element as a Integer


Scalar JSONArrayValue.getScalar? ( in Integer index )

returns an array element as a Scalar


String JSONArrayValue.getString? ( in Integer index )

returns an array element as a String


Vec2 JSONArrayValue.getVec2? ( in Integer index )

returns an array element as a Vec2


Vec3 JSONArrayValue.getVec3? ( in Integer index )

returns an array element as a Vec3


JSONArrayValue.merge! ( in JSONArrayValue other )

Merges a provided JSONArrayValue into this document.


JSONArrayValue.resize! ( in Size size )

resizes the internal array


JSONArrayValue.set! ( in Integer index, in JSONValue value )

sets an array element to a provided JSONValue


JSONArrayValue.setBoolean! ( in Integer index, in Boolean value )

sets an array element to a provided Boolean


JSONArrayValue.setColor! ( in Integer index, in Color value )

sets an array element to a provided Color


JSONArrayValue.setInteger! ( in Integer index, in Integer value )

sets an array element to a provided Integer


JSONArrayValue.setScalar! ( in Integer index, in Scalar value )

sets an array element to a provided Scalar


JSONArrayValue.setString! ( in Integer index, in String value )

sets an array element to a provided String


JSONArrayValue.setVec2! ( in Integer index, in Vec2 value )

sets an array element to a provided Vec2


JSONArrayValue.setVec3! ( in Integer index, in Vec3 value )

sets an array element to a provided Vec3


Size JSONArrayValue.size? ()

returns the size of the internal array


String[] JSONArrayValue.toStringArray? ()

returns this JSONArrayValue as an array of String by converting each array element to String