class Crest::JSONForm(T)

Overview

This class lets crest convert request hash to JSON This causes crest to POST data using the "Content-Type" application/json.

Defined in:

crest/forms/json_form.cr

Constructors

Instance Method Summary

Instance methods inherited from class Crest::Form(T)

content_type content_type, form_data form_data, generate generate, params params

Constructor methods inherited from class Crest::Form(T)

new(params : T) new

Class methods inherited from class Crest::Form(T)

generate(params : Hash) generate

Constructor Detail

def self.new(params : T) #

[View source]

Instance Method Detail

def generate #

[View source]