*Territory · 4 understandings* ## Summary A spec for canonical JSON requires a real ECMAScript Number::toString serialiser, and a changelog entry records that requirement with JCS libraries named per language. ## Explanation - A spec for canonical JSON requires a real ECMAScript Number::toString serialiser, and a changelog entry records that requirement with JCS libraries named per language. - A number canonicalises to the ECMAScript Number::toString shortest round-trip form (RFC 8785 § 3.2.2.3; 1, 0.5, 1e+21, 1e-7, -0 as 0), and NaN and infinities a… - Canonical JSON requires a real ECMAScript Number::toString serialiser per RFC 8785 § 3.2.2.3: shortest round-trip digits, plain notation for 10⁻⁷ < |x| < 10²¹,… - A JCS library that implements the ES serialiser should be used, or the algorithm ported (Ryu/Grisu shortest digits, then ES formatting): .NET — the Org.Webpki.… - A real ECMAScript Number::toString serialiser is required, with JCS libraries named per language. - A number canonicalises to the ECMAScript Number::toString shortest round-trip form (1, 0.5, 1e+21, 1e-7, -0 as 0), and NaN and infinities are not JSON and must be refused. - A number canonicalises to the ECMAScript Number::toString shortest round-trip form (RFC 8785 § 3.2.2.3; 1, 0.5, 1e+21, 1e-7, -0 as 0), and NaN and infinities a… - Canonical JSON needs that serialiser per RFC 8785 § 3.2.2.3: shortest round-trip digits, plain notation for 10⁻⁷ < |x| < 10²¹, exponent form 1e+21 / 1e-7 outside it, and -0 as 0. - Canonical JSON requires a real ECMAScript Number::toString serialiser per RFC 8785 § 3.2.2.3: shortest round-trip digits, plain notation for 10⁻⁷ < |x| < 10²¹,… - A JCS library that implements the ES serialiser should be used, or the algorithm ported (Ryu/Grisu shortest digits, then ES formatting):.NET — the Org.Webpki.JsonCanonicalizer port of cyberphone's JCS reference; Rust — the serde_jcs crate; Python — the rfc8785 package (Trail of Bits) or jcs. - A JCS library that implements the ES serialiser should be used, or the algorithm ported (Ryu/Grisu shortest digits, then ES formatting): .NET — the Org.Webpki.… - The changelog entry records that a real ECMAScript Number::toString serialiser is required, with JCS libraries named per language. - A real ECMAScript Number::toString serialiser is required, with JCS libraries named per language. ## Threads - The ECMAScript Number::toString shortest round-trip form and the refusal of NaN and infinities. - A number canonicalises to the ECMAScript Number::toString shortest round-trip form (RFC 8785 § 3.2.2.3; 1, 0.5, 1e+21, 1e-7, -0 as 0), and NaN and infinities a… - RFC 8785 § 3.2.2.3 notation ranges and -0 as 0. - Canonical JSON requires a real ECMAScript Number::toString serialiser per RFC 8785 § 3.2.2.3: shortest round-trip digits, plain notation for 10⁻⁷ < |x| < 10²¹,… - JCS library options per language, or porting the algorithm. - A JCS library that implements the ES serialiser should be used, or the algorithm ported (Ryu/Grisu shortest digits, then ES formatting): .NET — the Org.Webpki.… - A changelog entry recording the serialiser requirement. - A real ECMAScript Number::toString serialiser is required, with JCS libraries named per language. ## How it formed The changelog entry on Oct 18, 2026 records the serialiser requirement; the spec sections on Oct 19, 2026 spell out the number form and the library options. - A number canonicalises to the ECMAScript Number::toString shortest round-trip form (RFC 8785 § 3.2.2.3; 1, 0.5, 1e+21, 1e-7, -0 as 0), and NaN and infinities a… - Canonical JSON requires a real ECMAScript Number::toString serialiser per RFC 8785 § 3.2.2.3: shortest round-trip digits, plain notation for 10⁻⁷ < |x| < 10²¹,… - A JCS library that implements the ES serialiser should be used, or the algorithm ported (Ryu/Grisu shortest digits, then ES formatting): .NET — the Org.Webpki.… - A real ECMAScript Number::toString serialiser is required, with JCS libraries named per language. ## Consultant **Where it shows up** — The number serialiser keeps coming up: shortest round-trip digits, plain notation between 10⁻⁷ and 10²¹, exponent form outside it, -0 as 0, and NaN and infinities refused. ## Understandings - A number canonicalises to the ECMAScript Number::toString shortest round-trip form (RFC 8785 § 3.2.2.3; 1, 0.5, 1e+21, 1e-7, -0 as 0), and NaN and infinities are not JSON and MUST be refused. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - Canonical JSON requires a real ECMAScript Number::toString serialiser per RFC 8785 § 3.2.2.3: shortest round-trip digits, plain notation for 10⁻⁷ < |x| < 10²¹, exponent form 1e+21 / 1e-7 outside it, and -0 as 0. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - A JCS library that implements the ES serialiser should be used, or the algorithm ported (Ryu/Grisu shortest digits, then ES formatting): .NET — the Org.Webpki.JsonCanonicalizer port of cyberphone's JCS reference; Rust — the serde_jcs crate; Python — the rfc8785 package (Trail of Bits) or jcs. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- SPEC|NeuroverseOS/Neuroverseos-governance: SPEC]] — 2026-10-19 - A real ECMAScript Number::toString serialiser is required, with JCS libraries named per language. — from [[Bevia/World/Sources/NeuroverseOS-Neuroverseos-governance- docs-provenance-robot-domain-rules-CHANGEL|NeuroverseOS/Neuroverseos-governance: docs/provenance/robot-domain-rules-CHANGEL]] — 2026-10-18 ## Who, where and what Things: [[Bevia/World/Things/1e-7|1e-7]], [[Bevia/World/Things/1e+21|1e+21]], [[Bevia/World/Things/Canonical JSON (28781a2d)|Canonical JSON]], [[Bevia/World/Things/cyberphone|cyberphone]], [[Bevia/World/Things/ES serialiser|ES serialiser]], [[Bevia/World/Things/Grisu|Grisu]], [[Bevia/World/Things/jcs|jcs]], [[Bevia/World/Things/JCS (a08202aa)|JCS]], [[Bevia/World/Things/JSON|JSON]], [[Bevia/World/Things/Org.Webpki.JsonCanonicalizer|Org.Webpki.JsonCanonicalizer]], [[Bevia/World/Things/RFC 8785 § 3.2.2.3|RFC 8785 § 3.2.2.3]], [[Bevia/World/Things/rfc8785|rfc8785]], [[Bevia/World/Things/Ryu|Ryu]], [[Bevia/World/Things/serde_jcs|serde_jcs]], [[Bevia/World/Things/Trail of Bits|Trail of Bits]]