Class KinematicsNameConverter
Class to convert a Kinematics
Inherited Members
Namespace: DuetAPI .ObjectModel
Assembly: DuetAPI.dll
Syntax
public class KinematicsNameConverter : JsonConverter<KinematicsName>
Methods
Read(ref Utf8JsonReader, Type, JsonSerializerOptions)
Read a Kinematics
Declaration
public override KinematicsName Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Parameters
Type | Name | Description |
---|---|---|
Utf8Json |
reader | JSON reader |
Type | typeToConvert | Type to convert |
Json |
options | Serializer options |
Returns
Type | Description |
---|---|
Kinematics |
Read value |
Overrides
Write(Utf8JsonWriter, KinematicsName, JsonSerializerOptions)
Write a Kinematics
Declaration
public override void Write(Utf8JsonWriter writer, KinematicsName value, JsonSerializerOptions options)
Parameters
Type | Name | Description |
---|---|---|
Utf8Json |
writer | JSON writer |
Kinematics |
value | Value to serialize |
Json |
options | Write options |