You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the RDF to Object conversion algorithm, when the flag useNativeTypes is true, literals of type xsd:boolean, xsd:integer and xsd:double are converted (when possible) to the corresponding JSON value.
Otherwise, if the datatype IRI of value equals xsd:boolean, set converted value to true if the lexical form of value matches "true" or "1", or to false if it matches "false" or "0". If it matches neither, set type to xsd:boolean.
(NB: I also added quotes around the lexical values for clarity)