Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/persan/gnatcoll-json
https://github.com/persan/gnatcoll-json
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/persan/gnatcoll-json
- Owner: persan
- License: other
- Created: 2015-06-04T05:06:32.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2023-03-22T07:02:31.000Z (almost 2 years ago)
- Last Synced: 2024-07-31T20:32:01.145Z (6 months ago)
- Language: Ada
- Size: 428 KB
- Stars: 7
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-ada - gnatcoll-json - This is a set of helpers for writing JSON-intefaces it contains JSON parses for most of the Ada runtime components. (Frameworks / Components)
README
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 JSONThe final target is to add a code generator that would generate a
```Ada
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