addon/components/inputs/geolocation.js
function deserializeProperty (bunsenId, value, bunsenModel) {
  const subModel = getSubModel(bunsenModel, bunsenId)

  switch (subModel.type) {
    case 'integer':
      return parseInt(value)

    case 'number':
      return parseFloat(value)

    default:
      return value
  }
}
function deserializeProperty (bunsenId, value, bunsenModel) {
  const subModel = getSubModel(bunsenModel, bunsenId)

  switch (subModel.type) {
    case 'integer':
      return parseInt(value)

    case 'number':
      return parseFloat(value)

    default:
      return value
  }
}
function deserializeProperty ( bunsenId , value , bunsenModel ) { const subModel = getSubModel ( bunsenModel , bunsenId ) switch ( subModel . type ) { case 'integer' : return parseInt ( value ) case 'number' : return parseFloat ( value ) default : return value } }
Deserialize property value to format consumer expects
@param {String} bunsenId - property key
@param {String} value - property value
@param {Object} bunsenModel - bunsen model
@returns {String|Number} deserialized value
Deserialize property value to format consumer expects