Unit 'fpjson' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl]

TJSONArray.Floats

Get or set elements as floating-point numerical values.

Declaration

Source position: fpjson.pp line 609

public property TJSONArray.Floats[Index: Integer] : TJSONFloat
  read GetFloats
  write SetFloats;

Description

Floats gives direct access to the TJSONData.AsFloat property when reading. Reading it is the equivalent to accessing

Items[Index].AsFloat

When writing, it will check if a floating point numerical JSON value is located at the given location, and replace it with the new value. If a non-floating point numerical value is there, it is replaced with the written floating point value.

See also

TJSONData.Items

  

Indexed access to sub-items.

TJSONData.IsNull

  

Is the data a null value ?

TJSONArray.Types

  

JSON types of elements in the array.

TJSONArray.Integers

  

Get or set elements as integer values.

TJSONArray.Strings

  

Get or set elements as string values.

TJSONArray.Int64s

  

Get or set elements as Int64 values.

TJSONArray.QWords

  

Get or set elements as QWord values.

TJSONArray.Booleans

  

Get or set elements as boolean values.


Documentation generated on: Jan 30 2024