server/lib/cimi/model/schema.rb
#
# Attributes describe how we extract values from XML/JSON
#
Attributes describe how we extract values from XML/JSON
Attributes describe how we extract values from XML / JSON
def to_json(model, json = {})
    @attributes.freeze
    @attributes.each { |attr| attr.to_json(model, json) }
    json
  end
def to_json ( model , json = { } ) @attributes . freeze @attributes . each { | attr | attr . to_json ( model , json ) } json end
Attributes describe how we extract values from XML/JSON
Attributes describe how we extract values from XML / JSON
model
json