> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Class ItemsSourceConverter<TObject>

Namespace: [VM.Models.Pre.Drivetrain.VehicleSimulator](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Drivetrain.VehicleSimulator)\
Assembly: VM.Models.Pre.Drivetrain.VehicleSimulator.dll

```csharp theme={null}
public class ItemsSourceConverter<TObject> : JsonConverter where TObject : class, IHasGuid
```

#### Type Parameters

`TObject`

#### Inheritance

object ←
JsonConverter ←
[ItemsSourceConverter\<TObject>](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Drivetrain.VehicleSimulator.ItemsSourceConverter-1.md)

#### Inherited Members

JsonConverter.WriteJson(JsonWriter, object?, JsonSerializer),
JsonConverter.ReadJson(JsonReader, Type, object?, JsonSerializer),
JsonConverter.CanConvert(Type),
JsonConverter.CanRead,
JsonConverter.CanWrite

#### Extension Methods

[LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkProperties_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkPropertiesAndValues_System_Object_VM_Models_Pre_LinkPropertyType_),
[LinkPropertyItemCache.GetLinkedObjects\<T>(object, LinkPropertyType)](https://developer.synopsys.com/docs/motion/motion-standalone-preprocessor-c-sharp-library/lib/VM.Models.Pre.Cache.LinkPropertyItemCache.md#VM_Models_Pre_Cache_LinkPropertyItemCache_GetLinkedObjects__1_System_Object_VM_Models_Pre_LinkPropertyType_)

## Constructors

### ItemsSourceConverter()

```csharp theme={null}
public ItemsSourceConverter()
```

## Methods

### CanConvert(Type)

```csharp theme={null}
public override bool CanConvert(Type objectType)
```

#### Parameters

`objectType` Type

#### Returns

bool

### ReadJson(JsonReader, Type, object, JsonSerializer)

```csharp theme={null}
public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
```

#### Parameters

`reader` JsonReader

`objectType` Type

`existingValue` object

`serializer` JsonSerializer

#### Returns

object

### WriteJson(JsonWriter, object, JsonSerializer)

```csharp theme={null}
public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
```

#### Parameters

`writer` JsonWriter

`value` object

`serializer` JsonSerializer
