Skip to content

Convert objects #4

@ygoe

Description

@ygoe

DeepConvert should be able to convert data between the following types:

  • Dictionary<string, object> – class { … } (with same dictionary keys and properties/fields)
  • class { … } – class { … } (with same property/field names)

Property/field names should be matched case-insensitively, unless that would be ambiguous. If a property/field is itself of a composite type, the conversion recurses into that property/field.

Only public properties/fields are regarded, but the type itself should not necessarily be public.

Reflection data about the involved types should be cached for better performance. This might be a with compiled expressions or Reflection.Emit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions