public static object?ParseFromPairs( this IEnumerable <KeyValuePair <string, StringValues> > collection, Type targetType, JsonSerializerOptions?options = default) => FormsParser.ParseFromPairs( collection, targetType, instance => Serialize(instance, options ?? GetOptions()), (json, type) => Deserialize(json, type, options ?? GetOptions()));
public static object?ParseFromPairs( this IEnumerable <KeyValuePair <string, StringValues> > collection, Type targetType) => FormsParser.ParseFromPairs(collection, targetType, Serialize, Deserialize);