-
Notifications
You must be signed in to change notification settings - Fork 0
newgroundsiodotnet.converters.ngiocomponentrequestconverter
GlitchyPSIX edited this page Mar 30, 2025
·
4 revisions
Namespace: NewgroundsIODotNet.Converters
Converts a Component Request to a suitable JSON using JSON.NET. Does not read JSON.
public class NgioComponentRequestConverter : Newtonsoft.Json.JsonConverter`1[[NewgroundsIODotNet.Components.Interfaces.INgioComponentRequest, NewgroundsIODotNet, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null]]
Inheritance Object → JsonConverter → JsonConverter<INgioComponentRequest> → NgioComponentRequestConverter
public bool CanRead { get; }
public bool CanWrite { get; }
public NgioComponentRequestConverter()
public void WriteJson(JsonWriter writer, INgioComponentRequest value, JsonSerializer serializer)
writer
JsonWriter
value
INgioComponentRequest
serializer
JsonSerializer
public INgioComponentRequest ReadJson(JsonReader reader, Type objectType, INgioComponentRequest existingValue, bool hasExistingValue, JsonSerializer serializer)
reader
JsonReader
objectType
Type
existingValue
INgioComponentRequest
hasExistingValue
Boolean
serializer
JsonSerializer