THPDFObjectGraphJSONLimits Record

Bir object graph commit edilmeden önce parser işini, tutulan değerleri ve içe aktarılan binary payload'ları sınırlar

Bildirim

THPDFObjectGraphJSONLimits = record
  MaxJSONBytes: Int64;
  MaxObjectCount: Integer;
  MaxObjectNumber: Integer;
  MaxNestingDepth: Integer;
  MaxStringBytes: Int64;
  MaxStreamBytes: Int64;
  MaxAggregateStreamBytes: Int64;
  class function Default: THPDFObjectGraphJSONLimits; static;
end;

Kullanım

THPDFObjectGraphJSONLimits.Default ile başlayın ve tek tek tavanları, exchange kanalının güvenilen boyutuna göre daraltın

Yapısal tavanlar pozitif olmalıdır; stream baytı tavanları payload baytlarını reddetmek için sıfır olabilir; MaxJSONBytes ise sınırlı end-of-input algılaması için pay bırakmalıdır

THotPDF.ImportLoadedObjectGraphJSON Method