Skip to content

When handling $ref metadata verify value is converter.TypeToConvert and throw JsonException #32354

@ahsonkhan

Description

@ahsonkhan

Also add test cases if possible.

// todo: verify value is converter.TypeToConvert and throw JsonException? (currently no test)
state.Current.ReturnValue = state.ReferenceResolver.ResolveReferenceOnDeserialize(key);
state.Current.ObjectState = StackFrameObjectState.MetadataRefPropertyEndObject;

cc @steveharter, @jozkee

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions