No commit activity in last 3 years
No release in over 3 years
Content types for Spine.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 10.0

Runtime

 Project Readme

Spine::ContentTypes

Gem Version Dependency Status Code Climate security Inline docs

Provides encoding and decoding to content types. Supported types are plain text, HTML and JSON.

Installation

To install it, add the gem to your Gemfile:

gem 'spine-content_types'

Then run bundle. If you're not using Bundler, just gem install spine-content_types.

Usage

hash = Spine::ContentTypes::Json.load('{ "test": 12345 }')

json = Spine::ContentTypes::Json.dump(hash)