Project

very_dson

0.0
No commit activity in last 3 years
No release in over 3 years
DSON renderer for Rails
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0

Runtime

~> 4.0.0
 Project Readme

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.