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)
| 34 | // or is incompatible with the local type. |
| 35 | // Uses context error state for deferred error checking. |
| 36 | func 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). |
nothing calls this directly
no test coverage detected