Doge Serialized Object Notation Renderer for Rails
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.
lib
test
.gitignore
.travis.yml
Gemfile
Gemfile.lock
MIT-LICENSE
README.md
Rakefile
very_dson.gemspec

README.md

Very DSON Build Status

Very DSON is improves the accessibility of your Rails project by allowing you to render your API results in DSON - Doge Serialized Object Notation.

Quick Start

Add the gem to your Gemfile:

gem "very_dson"

# or, get the latest:
# gem "very_dson", github: "bolandrm/very_dson", branch: "master"

Run bundle install.

In your controllers, you can now render DSON:

class DogeController < ApplicationController
  def index
    render dson: { "foo" => ["bar", "baz", "fizzbuzz"], doge: true }
  end
end

This will output the following:

such "foo" is so "bar" also "baz" also "fizzbuzz" many? "doge" is yes wow

License

MIT.