https://github.com/yglukhov/plists
plist library for Nim
https://github.com/yglukhov/plists
Last synced: 7 months ago
JSON representation
plist library for Nim
- Host: GitHub
- URL: https://github.com/yglukhov/plists
- Owner: yglukhov
- License: mit
- Created: 2015-07-10T15:40:28.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2020-06-03T12:20:18.000Z (over 5 years ago)
- Last Synced: 2024-10-14T15:04:46.680Z (12 months ago)
- Language: Nim
- Size: 6.84 KB
- Stars: 8
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
===========
plists
===========Generate and parse Mac OS X `.plist` files in `Nim `_.
The library uses Nim's JsonNode as a primary data structure.Installation
------------
.. code-block:: shnimble install plists
Usage
------------
.. code-block:: nimimport plists
let p : JsonNode = loadPlist("/Applications/Calculator.app/Contents/Info.plist")
doAssert(p["CFBundleExecutable"].str == "Calculator")
writePlist(p, "test.plist")