forked from gap-packages/json
-
Notifications
You must be signed in to change notification settings - Fork 0
A GAP Package for reading and writing JSON
License
fingolfin/json
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
The GAP 4 package 'json' ======================== This package defines a mapping between the JSON markup language and GAP. The built-in datatypes of GAP provide an easy mapping to and from JSON. This package uses the following mapping between GAP and JSON. * JSON lists are mapped to GAP lists * JSON dictionaries are mapped to GAP records * JSON strings are mapped to GAP strings * Integers are mapped to GAP integers, non-integer numbers are mapped to Floats * true, false and null are mapped to true, false and fail respectively Note that this library will not map any other GAP types, such as groups, permutations, to or from JSON. If you wish to map between more complex types, look at the openmath package, or IO_Pickle in the IO package. Updates ======= v2.0.0 ====== The Json package now ensures it only outputs valid UTF8. GAP strings which contain valid UTF8 are outputted unmodified, invalid UTF8 is treated as Latin-1, and transformed into valid UTF8.
About
A GAP Package for reading and writing JSON
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- C++ 69.6%
- GAP 15.5%
- M4 7.4%
- Shell 5.7%
- Other 1.8%