Project

lasagna

0.0
No commit activity in last 3 years
No release in over 3 years
An extremely light ruby gem for jsonapi parsing
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies
 Project Readme

lasagna_gem

An extremely light ruby gem for jsonapi parsing

Install

As usual, paste this line into your command line

gem install lasagna

or add this line into your Gemfile

gem 'lasagna'

Usage

First, add this line into a needed class or module:

require 'lasagna'

That's it, you can start using it:

Lasagna.parse([JSON], [OPTIONS])
# [JSON] - parsed jsonapi string (use JSON.parse for example)
# [OPTIONS] - optional params for parsing
# Here is default parse options:
#   { include_ids: true,
#     include_types: true,
#     transform_keys: nil } # transform_keys is not supported yet

Links