Conformance Examples 0.1.0 — Transforms: transform-upcase¶
upcase-string¶
A string literal upcased via the built-in upcase transform.
Template
Context
Output
upcase-identifier-string¶
An identifier pointing to a string value is upcased.
Template
Context
Output
upcase-null-context¶
A missing key (resolves to null) coerces to "null" then upcases to "NULL".
Template
Context
Output
upcase-json-null¶
An explicit JSON null value coerces to "null" then upcases to "NULL".
Template
Context
Output
upcase-number¶
A number coerces to its string form; uppercasing has no effect on digits.
Template
Context
Output
upcase-boolean¶
A boolean true coerces to "true" then upcases to "TRUE".
Template
Context
Output
upcase-chained-with-downcase¶
Two-transform chain: upcase then downcase. Final result is lowercase.
Template
Context
Output
upcase-on-binary¶
Upcase applied to the result of a binary comparison. true renders as "true", upcased to "TRUE".
Template
Context
Output
upcase-sharp-s-expands¶
Unicode default case mapping can grow a string: German sharp s (one code point) upcases to "SS" (two code points).
Template
Context
Output
Source fixture: transforms/transform-upcase.json