So am working on a particular .NET project and came across NewtonSoft JSON.NET Serializer, it allows you serialize Collections such as a generic list and dictionary of objects to JSON in one simple line.

So am working on a particular .NET project and came across NewtonSoft JSON.NET Serializer, it allows you serialize Collections such as a generic list and dictionary of objects to JSON in one simple line.
Also allows deserialization, does anyone know if such library exists for Delphi??
http://JSON.NET

Comments

  1. Thanks everyone, will check up the libraries pointed out by you all.

    ReplyDelete
  2. Are any of these "drop-in" replacements for the Rest.Json TJson class? Do I need to change properties from public to published?

    ReplyDelete
  3. Serializing and mostly deserializing generics in Delphi is a major PITA because we don't have such capabilities to dynamically work with them like in C# where you can easily create new generic lists at runtime where you don't know the precise type T at compiletime.

    ReplyDelete

Post a Comment