![]() |
Delphi-Version: 10 Seattle
TJsonObjectBuilder wirft Exception
Ganz unkompliziert gefragt: Was mache ich falsch?
Delphi-Quellcode:
uses System.Json.Builders, System.Json.Writers;
procedure p(); var writer: TJsonWriter; builder: TJSONObjectBuilder; begin writer := nil; builder := nil; try writer := TJsonObjectWriter.Create(True); builder := TJSONObjectBuilder.Create(writer); builder.Clear(); // Exception: EJSONCollectionBuilderError // This operation is not permitted without assigned callback finally builder.Free(); writer.Free(); end; end; |
AW: TJsonObjectBuilder wirft Exception
Die Doku von
Delphi-Quellcode:
sagt:
Clear
Zitat:
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 11:35 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz