Tilt Jbuilder

Support for rendering Jbuilder templates in Tilt
Alternatives To Tilt Jbuilder
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Render1,7184232003 months ago13June 22, 2022mitGo
Go package for easily rendering JSON, XML, binary data, and HTML templates responses.
C Ray692
3 days ago17mitC
c-ray is a small, simple path tracer written in C
Typesystem4923019a year ago29December 15, 202128bsd-3-clausePython
Data validation, serialization, deserialization & form rendering. 🔢
Phearjs33116 years ago5October 16, 20154CoffeeScript
PhearJS - render dynamic Javascript webpages to JSON with PhantomJS
Renderer217162 years ago1March 11, 2019mitGo
Simple, lightweight and faster response (JSON, JSONP, XML, YAML, HTML, File) rendering package for Go
Rabl Rails20014612 years ago25March 25, 20216mitRuby
Rails 4.2 & 5 templating system with JSON, XML and Plist support.
Ishow183
5 years ago1JavaScript
A h5 page generator, generated by editing json, and then through the phone side of the page through a series of functions rendering
Antd Schema Form163
2 months ago58December 03, 20229mitTypeScript
Based on Ant Design, interactive forms can be generated through JSON Schema configuration. - 基于Ant Design,可以通过JSON Schema配置生成可交互的表单。
Grender88
5 years agoMay 24, 20212mitGo
Go package for easily rendering JSON/XML data and HTML templates
Mson React80
1a year ago18October 10, 202115apache-2.0JavaScript
React and Material-UI Rendering Layer for MSON
Alternatives To Tilt Jbuilder
Select To Compare


Alternative Project Comparisons
Readme

tilt-jbuilder

Adds support for rendering Jbuilder templates using Tilt.

Gem Version Build Status Dependency Status Coverage Status Code Climate

Installation

Add this line to your application's Gemfile:

gem 'tilt-jbuilder'

And then execute:

$ bundle

Or install it yourself as:

$ gem install tilt-jbuilder

Usage

require 'tilt/jbuilder.rb'

template = Tilt::JbuilderTemplate.new("templates/awesomeness.json.jbuilder")
template.render

# With locals
template = Tilt::JbuilderTemplate.new { "json.author name" }
template.render(nil, :name => 'Anthony')

# With scope
template = Tilt::JbuilderTemplate.new { "json.author @name" }
scope = Object.new
scope.instance_variable_set :@name, 'Anthony'
template.render(scope)

# Block style
template = Tilt::JbuilderTemplate.new do |t|
  lambda { |json| json.author 'Anthony'; json.target! }
end
template.render

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Credits

Sticksnleaves

tilt-jbuilder is maintained and funded by Sticksnleaves

Thanks to all of our contributors

Popular Rendering Projects
Popular Json Projects
Popular Graphics Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Ruby
Json
Rendering
Sinatra