class
TrackedObjectDefinition
public class TrackedObjectDefinition Defines characteristics of an object type that should be tracked within a JSON tree structure. These definitions are used to identify, track, and manage specific types of objects during JSON diffing and patching operations.
Constructors
TrackedObjectDefinition() Fields
| Name | Type | Description |
|---|---|---|
Type | String | A unique identifier for this object type. This is used to categorize objects. |
MatchScore | Func<JsonObject, Single> | Determines whether a JSON object should be considered an instance of this tracked object type. |
ToId | Func<JsonObject, String> | Maps a JSON object to a unique identifier string. |
ParentType | String | Specifies the required type of the parent object. If null, AllowedAsRoot must be true. |
AllowedAsRoot | Boolean | If true, objects of this type can be the root of the object tree. |
Atomic | Boolean | When true, treats this object as an atomic unit during tracking operations. |
IgnoredProperties | HashSet<String> |