https://github.com/diku-dk/sml-json
Standard ML package for JSON parsing and printing
https://github.com/diku-dk/sml-json
smlpkg
Last synced: 4 months ago
JSON representation
Standard ML package for JSON parsing and printing
- Host: GitHub
- URL: https://github.com/diku-dk/sml-json
- Owner: diku-dk
- License: mit
- Created: 2020-04-09T19:11:45.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-10-01T07:51:09.000Z (over 2 years ago)
- Last Synced: 2025-04-13T00:53:27.028Z (about 1 year ago)
- Topics: smlpkg
- Language: Standard ML
- Size: 10.7 KB
- Stars: 7
- Watchers: 7
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sml-json [](https://github.com/diku-dk/sml-json/actions)
Standard ML package for JSON parsing and printing.
## Overview of MLB files
- `lib/github.com/diku-dk/sml-json/json.mlb`:
- **signature** [`JSON`](lib/github.com/diku-dk/sml-json/json.sig)
- **structure** `Json` :> `JSON`
## Use of the package
This library is set up to work well with the SML package manager
[smlpkg](https://github.com/diku-dk/smlpkg). To use the package, in
the root of your project directory, execute the command:
```
$ smlpkg add github.com/diku-dk/sml-json
```
This command will add a _requirement_ (a line) to the `sml.pkg` file in your
project directory (and create the file, if there is no file `sml.pkg`
already).
To download the library into the directory
`lib/github.com/diku-dk/sml-json`, execute the command:
```
$ smlpkg sync
```
You can now reference the `mlb`-file using relative paths from within
your project's `mlb`-files.
Notice that you can choose either to treat the downloaded package as
part of your own project sources (vendoring) or you can add the
`sml.pkg` file to your project sources and make the `smlpkg sync`
command part of your build process.
## Authors
Copyright (c) 2015-2020 Martin Elsman, University of Copenhagen.