RAD Studio 10.4.1 is now available! Learn more. Looking for discounts? Visit our Special Offers page!
CodeDelphi

Efficiently Serialize And Deserialize JSON In Your Delphi Projects With Third Party Neon Library

Neon is a JSON serialization library for Delphi. This is a project by Paolo Rossi who is also a man behind the another popular open-source Delphi project called Delphi JOSE JWT.

Neon is a serialization library for Delphi which helps you to convert (back and forth) objects and other values to JSON. It supports simple Delphi data types but also has complex class and records.

The library has already available for the latest version of Delphi.

Some of the best features of the Neon serialization library. Extensive configuration through INeonConfiguration interface:

  • Word case (UPPERCASE, lowercase, PascalCase, camelCase, snake_case)
  • CuStOM CAse (through anonymous method)
  • Member types (Fields, Properties)
  • Option to ignore the “F” if you choose to serialize the fields
  • Member visibility (private, protected, public, published)
  • Custom serializer registration
  • Use UTC date in serialization

Delphi Data Types support:

  • Basic types: string, Integer, Double, Boolean, TDateTime
  • Arrays of (basic types, records, classes, etc…)
  • Records with fields of (basic types, records, classes, arrays, etc…)
  • Classes with fields of (basic types, records, classes, arrays, etc…)
  • Generic lists
  • Dictionaries (key must be of type string)
  • Streamable classes
  • Custom serializers

Head over and check out the full source code and download the Neon library here!


Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial   Learn More About Upgrading

About author

Software Developer | B.Tech-CSE at AUT | Delphi/C++ Builder Enthusiast | Microsoft Learn Student Ambassador | Microsoft Azure Certified | Udacity Alumni
Related posts
DelphiShowcase

Lovingly Crafted Software To Plan And Simulate Virtual Model Railroads Is Built In Delphi

CodeDelphiRAD StudioTech Partner

Powerful Cross Platform TeeGrid Is Capable Of Handling A Large Number Of Cells In Delphi FireMonkey

CodeDatabaseDelphi

Combine Front End, Back End, And Business Logic In Modern Full-Stack Development With Delphi

DelphiShowcase

Powerful Petroleum And Mining Software For Surface And Subsurface Data Visualization Is Built In Delphi

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

IN THE ARTICLES