struct APIMapper::ObjectTemplate

Overview

A template for a JSON-mapped object

Defined in:

api_mapper.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(klass_name : String, properties : Array(Property)) #

[View source]
def self.new(parser : JSON::PullParser, klass_name : String) #

[View source]

Class Method Detail

def self.from_json(string_or_io, klass_name) #

[View source]

Instance Method Detail

def to_s(__io__ : IO) : Nil #
Description copied from struct Struct

Same as #inspect(io).


[View source]