Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dsheets/ocaml-osx-plutil
The OS X plutil plist command as an OCaml library
https://github.com/dsheets/ocaml-osx-plutil
Last synced: 3 months ago
JSON representation
The OS X plutil plist command as an OCaml library
- Host: GitHub
- URL: https://github.com/dsheets/ocaml-osx-plutil
- Owner: dsheets
- Created: 2015-12-24T11:40:32.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-26T22:49:06.000Z (about 9 years ago)
- Last Synced: 2024-05-01T23:51:41.860Z (8 months ago)
- Language: OCaml
- Homepage:
- Size: 2.93 KB
- Stars: 7
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES
Awesome Lists containing this project
README
## The OS X plutil plist command as an OCaml library
```ocaml
# Plutil.to_human "k";;
- : (bytes, bytes) Result.result = Result.Ok "{\n \"k\" => 1\n}"
# Plutil.to_json "k";;
- : (bytes, bytes) Result.result = Result.Ok "{\"k\":true}"
```Includes conversion *to* and *from* plist **xml1**, **binary1**, and
**json** formats as well as JSON pretty-printing and a human-readable
format.