This document describes how {{Make}} behaves in situations when it receives values in expected and unexpected data formats.
|
Received |
Description |
|---|---|
|
boolean |
The value is handed over unchanged. |
|
number |
The value is converted to logical |
|
text |
If the value is equal to |
|
other |
The value is converted to logical |
|
Received |
Description |
|---|---|
|
buffer |
The value is handed over unchanged only if the codepage is as expected. If the |
|
boolean |
The value is converted to text ( |
|
date |
The value is converted to ISO 8601 text and then to binary data following the steps mentioned for converting to text. |
|
number |
The value is converted to text and then to binary data following the steps mentioned above for converting to text. |
|
text |
The value is converted to binary data and encoded as expected. If the expected encoding is not specified, |
|
other |
{{Make}} returns a validation error. |
|
Received |
Description |
|---|---|
|
date |
The value is handed over unchanged. |
|
text |
{{Make}} will try to convert the text to a date. If the conversion fails, it will return a validation error. Date must contain day, month and year. Date may contain time and time zone. Default time zone is based on your settings. See these examples. |
|
number |
{{Make}} will treat the number as milliseconds since Jan 01 1970 (UTC) and convert it to a corresponding date. |
|
other |
{{Make}} returns a validation error. |
|
Received |
Description |
|---|---|
|
text |
The value is handed over unchanged. |
|
array |
If the given array supports conversion to text, the value will be converted. If not, {{Make}} will return a validation error. |
|
boolean |
The value is converted to text ( |
|
buffer |
If text encoding is specified for binary data, the value will be converted to text. If not, {{Make}} will return a validation error |
|
date |
The value is converted to ISO 8601 text. |
|
number |
The value is converted to text. |
|
other |
{{Make}} returns a validation error. |