Skip to content

persan/gnatcoll-json

Folders and files

NameName
Last commit message
Last commit date

Latest commit

8dd8e69 · Oct 14, 2022
Oct 17, 2020
Apr 4, 2017
Oct 14, 2022
Oct 14, 2022
Oct 14, 2022
Dec 10, 2018
Oct 14, 2022
Dec 9, 2018
Oct 26, 2021
Jun 1, 2016
Oct 14, 2022
Jul 31, 2020
Oct 14, 2022
Oct 25, 2017
Oct 25, 2017
Dec 9, 2018

Repository files navigation

This library provides a set of utilities for serializing/deseriallizing Ada Standard containers and most of the Types defined in the package hierarchies Ada, GNAT, System, Interfaces to/from JSON

The final target is to add a code generator that would generate a

package ${package-name}.JSON is

   -- With at least the folowing methods for each type in the package ${package-name}
   function Create (Val : TypeName) return JSON_Array;
   function Get (Val : JSON_Value) return TypeName;
   function Get (Val : JSON_Value; Field : UTF8_String) return TypeName;
   procedure Set_Field  (Val : JSON_Value;  Field_Name : UTF8_String; Field  : TypeName);
end ${package-name};

Rev 1.4.0 2018-12-xx

Rev 1.3.0 2018-12-xx

  • Corrected implementation of simple_maps.
  • Clean up compiler warnings.
  • Added "PATH" support.

Rev 1.2.0 2017-10-26

  • Compatible JSON for one-dimensional containers such as Vectors, Linked-Lists and Sets.

ToDo:

  • Make compatible deserialisation for maps.
  • Finalize support for multiway_trees.
  • Rewite the crude codegenerator.
  • Add more support packages.

I