Sign in Join
FPDoc Onlineexperiment

TJSONString.Create constructor

Member of TJSONStringpublicIn unit fpJson

Create a new instance of string JSON data.

Declaration

pascal
constructor Create(const AValue: TJSONStringType); reintroduce
constructor Create(const AValue: TJSONUnicodeStringType); reintroduce

Arguments

AValue

Initial string value.

Description

Create instantiates a new string JSON data and initializes the value with AValue. 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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.