fn EncodeOptions::new(pretty? : Bool, indent? : Int, emit_bvm? : Bool, limits? : Limits) -> EncodeOptionsfn EncodeOptions::preflight_output_size(self : EncodeOptions, estimated_bytes : Int) -> Unit raise IonErrorfn EncodeOptions::readable(indent? : Int, emit_bvm? : Bool, limits? : Limits) -> EncodeOptions raise IonErrorfn EncodeOptions::with_binary_version_marker(self : EncodeOptions, enabled~ : Bool) -> EncodeOptionsfn IonTimestamp::new(year~ : Int, month~ : Int?, day~ : Int?, hour~ : Int?, minute~ : Int?, second~ : Int?, offset_minutes~ : Int?, fraction_exponent~ : Int?, fraction_coefficient~ : BigInt?) -> IonTimestamppub(all) enum IonValue {
Null(IonNull)
Bool(Bool)
Int(BigInt)
Float(Float)
Decimal(IonDecimal)
Timestamp(IonTimestamp)
Symbol(IonSymbol)
String(String)
Blob(Bytes)
Clob(Bytes)
List(Array[IonValue])
Sexp(Array[IonValue])
Struct(Array[(IonSymbol, IonValue)])
Annotated(Array[IonSymbol], IonValue)
} derive(Eq, Debug)Install
Download zipA bounded MoonBit Amazon Ion 1.0 value-stream codec with text and binary decoding, deterministic encoding, ordered structs, annotations, symbols, and resource limits.