TJElement.ToJSONValue Method
Converts this JSON element to a System.Json.TJSONValue instance.
Remarks
Available only on Delphi XE6 and later. The caller is responsible for freeing the returned TJSONValue.
Syntax
Unit: Bcl.Json.Classes
function TJElement.ToJSONValue: TJSONValue;