A DSON parser in Dogescript.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
build
src
test
.gitignore
.travis.yml
LICENSE
README.md
package.json

README.md

DSON.djs

Build Status NPM

A DSON 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:

npm install dson-djs
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