An open API service indexing awesome lists of open source software.

https://github.com/valiot/administrate-field-json-to-table

JSON to table field plugin for Administrate
https://github.com/valiot/administrate-field-json-to-table

Last synced: about 1 month ago
JSON representation

JSON to table field plugin for Administrate

Awesome Lists containing this project

README

        

# Administrate::Field::Jsontable

A plugin to display the values of a JSON into a table. If the JSON has no data
of a field it will display a "-". This gem only displays 1 or 2 rows.

![JsonTable](https://user-images.githubusercontent.com/7603314/29417081-9fa39038-832d-11e7-9189-b1baaccd8ec6.png)

This repository is a field plugin for Administrate.

## Installation

Add to your gemfile `gem 'administrate-field-jsontable'`

[Administrate]: https://github.com/thoughtbot/administrate

## Contributing

Run `bundle exec rake db:setup` to set up example rails app on development environment
Run `bundle exec rspec` to run tests
Run `bundle exec rubocop` to linting tests