https://github.com/dogescript/dson.djs
A DSON parser in Dogescript.
https://github.com/dogescript/dson.djs
Last synced: 4 months ago
JSON representation
A DSON parser in Dogescript.
- Host: GitHub
- URL: https://github.com/dogescript/dson.djs
- Owner: dogescript
- License: mit
- Created: 2014-06-06T04:12:56.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-06-08T06:13:10.000Z (about 12 years ago)
- Last Synced: 2024-12-14T15:37:31.511Z (over 1 year ago)
- Language: JavaScript
- Size: 254 KB
- Stars: 13
- Watchers: 7
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## DSON.djs
[](https://travis-ci.org/dogescript/DSON.djs)
[](https://nodei.co/npm/dson-djs/)
A [DSON](http://dogeon.org/) parser in Dogescript. What am I doing?!
Work in progress. It mostly works, but there are probably some edge cases still.
### Install
If you're using Node/Browserify:
```bash
npm install dson-djs
```
```js
var DSON = require('dson-djs')
```
Otherwise, just add the `build/DSON.js` file to your page, and use the new global variable `DSON`.
### Usage
* `DSON.parse(str)` - Parses a string of DSON into a JSON object
* `DSON.dogeify(obj)` - Converts an object into a DSON string