# Measurement

The Liquid `measurement` object and its properties, with examples.

The `measurement` object has the following attributes:

## measurement.type

Returns the measurement type, which can be one of:

- `dimension`
- `volume`
- `weight`

## measurement.unit

Returns the name of the unit for the measurement type. For example, if the type is `weight`, the unit could be `grams`.

## measurement.value

Returns the measured value.


## More properties

VersaCommerce also provides these properties on the `measurement` object:

| Properties | Returns |
|---|---|
| `json_measurement`, `as_json_string` | Raw measurement representation and its JSON string |
