public class UBinarySizeJsonConverter : JsonConverter<UBinarySize>Public Class UBinarySizeJsonConverter
Inherits JsonConverter(Of UBinarySize)public ref class UBinarySizeJsonConverter : public JsonConverter<UBinarySize>type UBinarySizeJsonConverter =
class
inherit JsonConverter<UBinarySize>
endThis class is used to serialize UBinarySize values when using the JsonSerializer class.
UBinarySize values are serialized to JSON as strings, allowing the use of values with binary size suffixes.
| UBinarySizeJsonConverter | Initializes a new instance of the UBinarySizeJsonConverter class. |
| UBinarySizeJsonConverter(BinarySizeOptions) | Initializes a new instance of the UBinarySizeJsonConverter class with the specified options. |
| HandleNull | Gets a value that indicates whether should be passed to the converter on serialization, and whether Null should be passed on deserialization. (Inherited from JsonConverterUBinarySize) |
| Options | Gets a value that indicates how units are interpreted when converting from a string. |
| Type | Gets the type being converted by the current converter instance. (Inherited from JsonConverterUBinarySize) |
| CanConvert | Determines whether the specified type can be converted. (Inherited from JsonConverterUBinarySize) |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) |
| Read | Reads and converts the JSON to type T. (Overrides JsonConverterTRead(Utf8JsonReader, Type, JsonSerializerOptions)) |
| ReadAsPropertyName | Reads a dictionary key from a JSON property name. (Inherited from JsonConverterUBinarySize) |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| Write | Writes a specified value as JSON. (Overrides JsonConverterTWrite(Utf8JsonWriter, T, JsonSerializerOptions)) |
| WriteAsPropertyName | Writes a dictionary key as a JSON property name. (Inherited from JsonConverterUBinarySize) |