class DefaultStringResponse
- DefaultStringResponse
- Llamero::BaseGrammar
- Reference
- Object
Overview
This is a helper class for when a user does not provide a grammar, it'll default to responding with a single string property
Defined in:
models/base_model.crConstructors
-
.new(pull : JSON::PullParser)
This is a helper class for when a user does not provide a grammar, it'll default to responding with a single string property
Instance Method Summary
Instance methods inherited from class Llamero::BaseGrammar
to_grammar_file(is_root_object : Bool = true) : IO
to_grammar_file
Constructor methods inherited from class Llamero::BaseGrammar
new(pull : JSON::PullParser)
new
Class methods inherited from class Llamero::BaseGrammar
get_grammar_output_for_object : IO
get_grammar_output_for_object
Constructor Detail
def self.new(pull : JSON::PullParser)
#
This is a helper class for when a user does not provide a grammar, it'll default to responding with a single string property