hi Andy

Also, in JSON, a bare number is a long or double, not decimal, so try
> putting in the lexical form in a string:
>
> >>   "Quantity.value": {
> >>      "decimal": 123.45
>
>   "decimal": "123.45"
>
> http://json-ld.org/spec/latest/json-ld/#dfn-number
> [[
> a number is equivalent to either a long or double, depending on if the
> number has a non-zero fractional part
> ]]


Well, that's interesting. Ill discuss that with the json-ld team.

Irrespective of that, since the library actually handles the conversion
either way, why should it
output an error?

Grahame

Reply via email to