Skip to content

Commit cbcd289

Browse files
committed
Remove note warning authors to not use values "that are going to undergo automatic conversion"
... for decimals etc. This is the same in plain old JSON. It is definitely a helpful warning but I don't think it's the specs job to warn developers about such things. /cc @dlongley This addresses #234.
1 parent afb2826 commit cbcd289

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

spec/latest/json-ld-api/index.html

-5
Original file line numberDiff line numberDiff line change
@@ -3555,11 +3555,6 @@ <h2>Data Round Tripping</h2>
35553555
-->
35563556
</pre>
35573557

3558-
<p class="note">When data such as decimals need to be normalized, JSON-LD authors should
3559-
not use values that are going to undergo automatic conversion. This is due to the lossy nature
3560-
of <code>xsd:double</code> values. Authors should instead use the expanded object form to
3561-
set the canonical lexical form directly.</p>
3562-
35633558
<p>The canonical lexical form of the <em>boolean</em> values <tref>true</tref> and <tref>false</tref>
35643559
are the strings <code>true</code> and <code>false</code>.</p>
35653560

0 commit comments

Comments
 (0)