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

TJSONString

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Class to represent string JSON data.

Declaration

Source position: fpjson.pp line 383

type TJSONString = class(TJSONData)

public

  StrictEscaping: Boolean;

  

Use strict escaping.

  constructor Create();

  

Create a new instance of string JSON data.

  class function JSONType; override;

  

native JSON data type.

  procedure Clear; override;

  

Clear value.

  function Clone; override;

  

Clone string value.

end;

Inheritance

TJSONString

  

Class to represent string JSON data.

|

TJSONData

  

Base (abstract) object for all JSON based data types.

|

TObject

Description

TJSONString must be used whenever string data must be represented. Currently the implementation uses an ANSI string to hold the data. This means that to correctly hold Unicode data, a UTF-8 encoding must be used.

See also

TJSONFloatNumber

  

Class to represent floating-point JSON data.

TJSONIntegerNumber

  

Class to represent 32-bit integer JSON data.

TJSONInt64Number

  

Class to represent 64-bit integer JSON data.

TJSONBoolean

  

Class to represent boolean JSON data.

TJSONNull

  

Class to represent boolean JSON data.

TJSONArray

  

Class of TJSONArray.

TJSONObject

  

Class of TJSONObject.


Documentation generated on: Nov 23 2024