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

Function SkipFieldValue

go/fory/skip.go:36–38  ·  view source on GitHub ↗

SkipFieldValue skips a field value in compatible mode when the field doesn't exist or is incompatible with the local type. Uses context error state for deferred error checking.

(ctx *ReadContext, fieldDef FieldDef, readRefFlag bool)

Source from the content-addressed store, hash-verified

34// or is incompatible with the local type.
35// Uses context error state for deferred error checking.
36func SkipFieldValue(ctx *ReadContext, fieldDef FieldDef, readRefFlag bool) {
37 SkipFieldValueWithTypeFlag(ctx, fieldDef, readRefFlag, false)
38}
39
40// SkipFieldValueWithTypeFlag skips a field value with explicit control over type info reading.
41// readTypeInfo should be true if type info was written for this field (struct fields in compatible mode).

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected