Skip to main content
SIFR-INT-0009 belongs to the Integer model diagnostic family. It means: jSON or web-safe integer serialization boundary is missing or unsafe.

Why It Happens

Sifr separates exact integers from fixed-width integers. This diagnostic fires when an integer value, conversion, or operation violates that model.
Use sifr --explain SIFR-INT-0009 locally to see the renderer’s exact message template and any machine-applicable suggestions for the compiler version you are running.

Erroneous Code

How To Fix It

Select json.exact, json.web, or json.string_ints and provide the declared integer kind and any required static range. Under json.web, numeric output must be statically proven to fit JavaScript’s safe integer range; otherwise use the profile’s decimal-string representation.

Fixed Code

Details

See the Error Codes index for the complete catalog.