System::Text::Json::Serialization::Converters::TimeSpanConverter class
TimeSpanConverter class
class TimeSpanConverter : public System::Text::Json::Serialization::Converters::JsonPrimitiveConverter<TimeSpan>
Methods
| Method | Description |
|---|---|
| GetSupportedJsonValueTypes(JsonNumberHandling) override | |
| Read(Utf8JsonReader&, const System::TypeInfo&, System::SharedPtr<JsonSerializerOptions>) override | |
| ReadAsPropertyNameCore(Utf8JsonReader&, const System::TypeInfo&, System::SharedPtr<JsonSerializerOptions>) override | |
| SetTemplateWeakPtr(uint32_t) override | Set n’th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. |
| Write(System::SharedPtr<Utf8JsonWriter>, TimeSpan, System::SharedPtr<JsonSerializerOptions>) override | |
| WriteAsPropertyNameCore(System::SharedPtr<Utf8JsonWriter>, TimeSpan, System::SharedPtr<JsonSerializerOptions>, bool) override |
See Also
- Class JsonPrimitiveConverter
- Namespace System::Text::Json::Serialization::Converters
- Library Aspose.TeX for C++