Skip to content

Commit

Permalink
Update doc/manuals/orion-api.md
Browse files Browse the repository at this point in the history
  • Loading branch information
fgalan authored Jan 11, 2024
1 parent 834379e commit 06d84b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/manuals/orion-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -2253,7 +2253,7 @@ Some notes to take into account when using `ngsi`:
* It cannot be used in the key part of JSON objects, i.e. `"${key}": 10` will not work
* It cannot be used in the attribute `type`. Only in the `value` macro replacements can be done.
* If the macro *covers completely the string where is used*, then the JSON nature of the attribute value
is taken into account. For instance, `"value": "${temperature}"` resolves to `"value": 10`.
is taken into account. For instance, `"value": "${temperature}"` resolves to `"value": 10`
if temperature attribute is a number or to `"value": "10"` if `temperature` attribute is a string.
* Exception to this is `id` and `type`. Given that entity id and type must be a string (as decribed
in [this section](#identifiers-syntax-restrictions)) the attribute value is always casted to string in this case.
Expand Down

0 comments on commit 06d84b9

Please sign in to comment.