value

value #

The value of the display, serial number and barcode objects is often the most important property. It represents the read value of the object. It can also be null when the object has been detected, but the value could not be read.

Note that the value always has the type string, even for displays. The value of a display has at most one decimal separator indicated with a period ("."), does not contain thousands separators, and may contain leading zeros.

When the value of a serial number or barcode contains any letters, these will be uppercase.

Example response #

{
    "objects": [
        {
            "meter": {
                "objects": {
                    "display": [
                        {
                            "value": "14233.48"
                        },
                        {
                            "value": "12039.34"
                        }
                    ],
                    "serialNumber": [
                        {
                            "value": "AC422808"
                        }
                    ],
                    "barcode": []
                }
            }
        }
    ]
}