{"id":79058,"library":"grape-entity","title":"Grape Entity","description":"Extracted from Grape, a Ruby framework for rapid API development with great conventions.","status":"active","version":"1.1.0","language":"ruby","source_language":null,"source_url":"https://github.com/ruby-grape/grape-entity","tags":["api","serialization","grape","entity"],"install":[{"cmd":"gem install grape-entity","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'grape-entity', '~> 1.1.0'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"Grape::Entity","correct":"require 'grape-entity'"}],"quickstart":{"code":"require 'grape-entity'\nclass UserEntity < Grape::Entity\n  expose :name, :email\nend\nputs UserEntity.represent(User.new(name: 'Alice', email: 'alice@example.com')).to_json","lang":"ruby","description":"Define and use an entity to serialize API responses"},"warnings":[],"env_vars":null,"search_vec":"'api':11,16 'convent':15 'develop':12 'entiti':2,19 'extract':3 'framework':8 'grape':1,5,18 'great':14 'rapid':10 'rubi':7 'serial':17","created_at":"2026-06-18T04:39:33.010333+00:00","updated_at":"2026-06-18T04:39:33.010333+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/ruby-grape/grape-entity","github":"https://github.com/ruby-grape/grape-entity","docs":"http://www.rubydoc.info/gems/grape-entity/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["serialization","web-framework"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-18","next_check":"2026-12-15","install_tag":null}}