No description, website, or topics provided.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
examples/json-sample
golden
src.builder
src.util
src
test-template
tests.codegen
tests
.gitignore
COPYRIGHT
Makefile
README.md
gnatcoll-json-builder.gpr
gnatcoll-json-builder.ide.py
gnatcoll-json-tests.gpr
gnatcoll-json-tests.ide.py
gnatcoll-json-util.gpr
gnatcoll-json-util.ide.py
gnatcoll-json.gpr
gnatcoll-json.ide.py
gnatcoll-json.py

README.md

This library provides a set of utilities for serializing/deseriallizing Ada Standard containers and most of the Types defind in the package heracies 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.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