MCPcopy Create free account
hub / github.com/apache/fory / WithXlang

Function WithXlang

go/fory/fory.go:114–118  ·  view source on GitHub ↗

WithXlang sets cross-language serialization mode

(enabled bool)

Source from the content-addressed store, hash-verified

112
113// WithXlang sets cross-language serialization mode
114func WithXlang(enabled bool) Option {
115 return func(f *Fory) {
116 f.config.IsXlang = enabled
117 }
118}
119
120// WithCompatible sets schema evolution compatibility mode
121func WithCompatible(enabled bool) Option {

Callers 15

TestSerializePrimitivesFunction · 0.85
TestSerializeInterfaceFunction · 0.85
TestSerializePtrFunction · 0.85
TestSerializeSliceFunction · 0.85
TestSerializeMapFunction · 0.85
TestSerializeSetFunction · 0.85
TestSerializeArrayFunction · 0.85

Calls

no outgoing calls

Tested by 15

TestSerializePrimitivesFunction · 0.68
TestSerializeInterfaceFunction · 0.68
TestSerializePtrFunction · 0.68
TestSerializeSliceFunction · 0.68
TestSerializeMapFunction · 0.68
TestSerializeSetFunction · 0.68
TestSerializeArrayFunction · 0.68