Documentation ¶ Overview ¶ Package canonical implements the bounded Forecast Ledger JCS profile. Index ¶ Variables func Marshal(value any) ([]byte, error) Constants ¶ This section is empty. Variables ¶ View Source var ErrUnsupportedValue = errors.New("value is outside the supported RFC 8785 profile") Functions ¶ func Marshal ¶ func Marshal(value any) ([]byte, error) Marshal returns RFC 8785/JCS bytes for the project's I-JSON subset. The profile deliberately rejects floats; exact decimals are represented as strings and probabilities as safe integers. Types ¶ This section is empty. Source Files ¶ View all Source files doc.gojcs.go Click to show internal directories. Click to hide internal directories.