Delphi Serialize Object To String
Posted By admin On 30.07.19A JSON framework for Delphi. Allows you to create, serialize, and deserialize JSON objects.
Motivation
Delphi Serialize Object To String
Component Object Model (COM) is a binary-interface standard for software components introduced by Microsoft in 1993. It is used to enable inter-process communication. Is there any class in the.NET framework that can read/write standard.ini files: [Section] =. Delphi has the TIniFile component and I. Aug 20, 2012. Some weeks ago a customer asked to me if it is possibile serialize a TList of objects. This is the (simple) sample code tested with Delphi XE2 Update4. TPerson = class private FName: String; procedure SetName(const Value: String); published property Name: String read FName write SetName; end;.
I built this because the JSON libraries available for older versions of Delphi were not suitable for my needs. I also thought it would be a good learning opportunity.



The name is a reference to Jason's ship from Greek Mythology, The Argo.
Differences from other JSON Libraries
- Preserves order of key value pairs in objects. Serialization order will correspond to the order in which keys were assigned.
- Helpful exceptions with context when JSON parsing fails.
- Easy to understand code which you can adapt to your own needs. There's only three major classes: TJSONValue, TJSONArray, and TJSONObject.
- Straightforward and simple API.
- High performance - faster than superobject on all operations except deserialization, where it is approximately 30% slower. See argo-benchmarks for more details.