3#include <system/timespan.h>
4#include <system/details/pointer_collection_helpers.h>
7#include "system/text/json/serialization/converters/value/json_primitive_converter.h"
15class JsonSerializerOptions;
43 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
57 static const int32_t MinimumTimeSpanFormatLength = 1;
58 static const int32_t MaximumTimeSpanFormatLength = 26;
59 static const int32_t MaximumEscapedTimeSpanFormatLength;
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
Definition: json_primitive_converter.h:48
Definition: time_span_converter.h:39
void Write(System::SharedPtr< Utf8JsonWriter > writer, TimeSpan value, System::SharedPtr< JsonSerializerOptions > options) override
void WriteAsPropertyNameCore(System::SharedPtr< Utf8JsonWriter > writer, TimeSpan value, System::SharedPtr< JsonSerializerOptions > options, bool isWritingExtensionDataProperty) override
JsonValueType GetSupportedJsonValueTypes(JsonNumberHandling _) override
TimeSpan ReadAsPropertyNameCore(Utf8JsonReader &reader, const System::TypeInfo &typeToConvert, System::SharedPtr< JsonSerializerOptions > options) override
TimeSpan Read(Utf8JsonReader &reader, const System::TypeInfo &typeToConvert, System::SharedPtr< JsonSerializerOptions > options) override
void SetTemplateWeakPtr(uint32_t argument) override
Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containe...
Definition: utf8_json_reader.h:78
Represents a time interval. This type should be allocated on stack and passed to functions by value o...
Definition: timespan.h:59
Represents a particular type and provides information about it.
Definition: type_info.h:109
@ Text
Defines color adjustment information for text.
@ TypeInfo
Specifies that the member is a type.
JsonValueType
Definition: json_value_type.h:15
JsonNumberHandling
Definition: json_number_handling.h:16
Definition: db_command.h:9