TJSONDocumentAncestor.GetEncoding Method

Definition

Returns the encoding format of the JSON document source string

Delphi
function GetEncoding: TEncoding

Returns

TEncoding

Remarks

Changing the encoding can have side effects during a document load with previous files. By default the JSON is encoded in UTF8.