TJSONDocumentAncestor.GetEncoding Method

Returns the encoding format of the JSON document source string

Unit: uDocumentsAncestor
function GetEncoding: TEncoding

Return Value

Type: TEncoding

 

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