3#include <system/type_info.h>
4#include <system/nullable.h>
5#include <system/func.h>
6#include <system/array.h>
7#include <system/action.h>
9#include <system/delegate.h>
11#include "system/text/json/serialization/json_number_handling.h"
12#include "system/text/json/serialization/json_ignore_condition.h"
20template <
typename,
typename>
class IDictionary;
32class JsonSerializerOptions;
39template <
typename,
typename>
class ListOfTConverter;
40template <
typename,
typename>
class QueueOfTConverter;
41template <
typename,
typename>
class StackOfTConverter;
42template <
typename>
class StackOrQueueConverter;
43template <
typename>
class ObjectDefaultConverter;
44template <
typename>
class ObjectWithParameterizedConstructorConverter;
46template <
typename,
typename>
class JsonCollectionConverter;
47template <
typename>
class JsonConverter;
48class JsonConverterBase;
49template <
typename...>
class JsonDictionaryConverter;
52class JsonMetadataServices;
53class JsonParameterInfoBase;
54class JsonParameterInfoValues;
55class JsonTypeInfoBase;
56class PolymorphicTypeResolver;
57template <
typename>
class JsonTypeInfo;
84 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
85 ASPOSECPP_SHARED_RTTI_INFO_DECL();
199 #ifdef ASPOSE_GET_SHARED_MEMBERS
200 void GetSharedMembers(System::Object::shared_members_type& result)
const override;
215 bool _isUserSpecifiedSetter;
217 bool _isUserSpecifiedShouldSerialize;
225 bool _isExtensionData;
230 bool pr_IsConfigured;
232 void set_IsConfigured(
bool value);
234 bool pr_IgnoreNullTokensOnRead;
236 void set_IgnoreNullTokensOnRead(
bool value);
238 bool pr_IgnoreDefaultValuesOnWrite;
240 ASPOSECPP_SHARED_API
void set_IgnoreDefaultValuesOnWrite(
bool value);
242 bool pr_IsForTypeInfo;
255 bool pr_CanSerialize;
257 void set_CanSerialize(
bool value);
259 bool pr_CanDeserialize;
261 void set_CanDeserialize(
bool value);
263 bool pr_CanDeserializeOrPopulate;
265 void set_CanDeserializeOrPopulate(
bool value);
267 bool pr_SrcGen_HasJsonInclude;
268 bool pr_SrcGen_IsPublic;
274 int32_t _propertyIndex;
276 String get_DebuggerDisplay();
282 void VerifyMutable();
284 void ValidateAndCachePropertyName();
285 void DetermineIgnoreCondition();
286 void DetermineSerializationCapabilities();
287 void DetermineNumberHandlingForTypeInfo();
288 void DetermineNumberHandlingForProperty();
289 bool NumberHandingIsApplicable();
291 template <
typename TValue>
294 template <
typename TValue>
297 static struct __StaticConstructor__ { __StaticConstructor__(); } s_constructor__;
Class that represents an array data structure. Objects of this class should only be allocated using S...
Definition: array.h:296
Interface for dictionary-alike containers. Objects of this class should only be allocated using Syste...
Definition: idictionary.h:21
Function delegate. This type should be allocated on stack and passed to functions by value or by refe...
Definition: func.h:82
Base class that enables using methods available for System.Object class in C#. All non-trivial classe...
Definition: object.h:51
Pointer class to wrap types being allocated on heap. Use it to manage memory for classes inheriting O...
Definition: smart_ptr.h:180
String class used across the library. Is a substitute for C# System.String when translating code....
Definition: string.h:126
Definition: json_serializer_helpers.h:91
Definition: read_stack_frame.h:42
Definition: read_stack.h:35
Definition: list_of_t_converter.h:35
Definition: object_default_converter.h:64
Definition: object_with_parameterized_constructor_converter.h:64
Definition: queue_of_t_converter.h:40
Definition: stack_of_t_converter.h:40
Definition: stack_or_queue_converter.h:37
Definition: json_collection_converter.h:43
Definition: json_converter_of_t.h:80
Definition: json_converter.h:45
Definition: json_property_info.h:80
void set_IsVirtual(bool value)
bool get_IsExtensionData()
void set_ShouldSerialize(Func< System::SharedPtr< Object >, System::SharedPtr< Object >, bool > value)
void EnsureChildOf(System::SharedPtr< System::Text::Json::Serialization::Metadata::JsonTypeInfoBase > parent)
virtual bool ReadJsonAsObject(ReadStack &state, Utf8JsonReader &reader, System::SharedPtr< Object > &value)=0
void set_MemberType(Reflection::MemberTypes value)
void set_Get(Func< System::SharedPtr< Object >, System::SharedPtr< Object > > value)
bool IsOverriddenOrShadowedBy(System::SharedPtr< JsonPropertyInfoBase > other)
bool get_CanDeserialize()
Nullable< JsonIgnoreCondition > get_IgnoreCondition()
void set_CustomConverter(System::SharedPtr< JsonConverterBase > value)
virtual System::SharedPtr< Object > GetValueAsObject(System::SharedPtr< Object > obj)=0
const System::SharedPtr< JsonSerializerOptions > & get_Options()
void set_AssociatedParameter(System::SharedPtr< JsonParameterInfoBase > value)
static System::SharedPtr< JsonPropertyInfoBase > GetPropertyPlaceholder()
bool get_SrcGen_HasJsonInclude()
void set_PropertyIndex(int32_t value)
bool ReadJsonAndAddExtensionProperty(System::SharedPtr< Object > obj, ReadStack &state, Utf8JsonReader &reader)
void set_IgnoreCondition(Nullable< JsonIgnoreCondition > value)
bool ReadJsonExtensionDataValue(ReadStack &state, Utf8JsonReader &reader, System::SharedPtr< Object > &value)
virtual System::SharedPtr< Object > get_DefaultValue()=0
bool get_IgnoreDefaultValuesOnWrite()
const System::SharedPtr< JsonConverterBase > & get_EffectiveConverter()
Nullable< JsonNumberHandling > get_NumberHandling()
const TypeInfo & get_PropertyType()
virtual bool get_PropertyTypeCanBeNull()
friend class JsonParameterInfoBase
Definition: json_property_info.h:88
void set_SrcGen_IsPublic(bool value)
static System::SharedPtr< JsonPropertyInfoBase > s_missingProperty
Definition: json_property_info.h:140
void init_IsForTypeInfo(bool value)
friend class JsonPropertyInfo
Definition: json_property_info.h:101
const Func< System::SharedPtr< Object >, System::SharedPtr< Object > > & get_Get()
const TypeInfo & get_DeclaringType()
System::SharedPtr< Array< uint8_t > > get_NameAsUtf8Bytes()
void set_IsExtensionData(bool value)
bool get_SrcGen_IsPublic()
System::SharedPtr< System::Text::Json::Serialization::Metadata::JsonTypeInfoBase > get_JsonTypeInfo()
void set_Set(Action< System::SharedPtr< Object >, System::SharedPtr< Object > > value)
void set_Name(String value)
const System::SharedPtr< System::Text::Json::Serialization::Metadata::JsonTypeInfoBase > & get_DeclaringTypeInfo()
virtual bool GetMemberAndWriteJson(System::SharedPtr< Object > obj, WriteStack &state, System::SharedPtr< Utf8JsonWriter > writer)=0
virtual ~JsonPropertyInfoBase()
bool get_CanDeserializeOrPopulate()
System::SharedPtr< JsonConverterBase > get_CustomConverter()
bool get_IsPropertyTypeInfoConfigured()
friend class JsonMetadataServices
Definition: json_property_info.h:87
bool TryGetPrePopulatedValue(ReadStack &state)
System::SharedPtr< JsonParameterInfoBase > get_AssociatedParameter()
void set_HasFastGetter(bool value)
void set_IsRequired(bool value)
Reflection::MemberTypes get_MemberType()
const Action< System::SharedPtr< Object >, System::SharedPtr< Object > > & get_Set()
void set_IsGetNullable(bool value)
void set_JsonTypeInfo(System::SharedPtr< System::Text::Json::Serialization::Metadata::JsonTypeInfoBase > value)
void set_NumberHandling(Nullable< JsonNumberHandling > value)
System::SharedPtr< Array< uint8_t > > get_EscapedNameSection()
bool get_IgnoreNullTokensOnRead()
virtual void AddJsonParameterInfo(System::SharedPtr< JsonParameterInfoValues > parameterInfoValues)=0
virtual bool ReadJsonAndSetMember(System::SharedPtr< Object > obj, ReadStack &state, Utf8JsonReader &reader)=0
Nullable< JsonNumberHandling > get_EffectiveNumberHandling()
void set_IsSetNullable(bool value)
virtual bool GetMemberAndWriteJsonExtensionData(System::SharedPtr< Object > obj, WriteStack &state, System::SharedPtr< Utf8JsonWriter > writer)=0
void set_HasFastSetter(bool value)
void set_MemberName(String value)
JsonPropertyInfoBase(const TypeInfo &declaringType, const TypeInfo &propertyType, System::SharedPtr< System::Text::Json::Serialization::Metadata::JsonTypeInfoBase > declaringTypeInfo, System::SharedPtr< JsonSerializerOptions > options)
int32_t get_PropertyIndex()
void set_Order(int32_t value)
const Func< System::SharedPtr< Object >, System::SharedPtr< Object >, bool > & get_ShouldSerialize()
void set_SrcGen_HasJsonInclude(bool value)
Definition: json_type_info.h:106
Definition: json_type_info_of_t.h:84
Definition: polymorphic_type_resolver.h:52
Definition: throw_helper.h:91
Definition: utf8_json_reader.h:78
Definition: write_stack_frame.h:44
Definition: write_stack.h:34
Represents a particular type and provides information about it.
Definition: type_info.h:109
@ Text
Defines color adjustment information for text.
MemberTypes
Marks each type of member.
Definition: member_types.h:11
Definition: db_command.h:9
MulticastDelegate< void(Args...)> Action
Delegate type that references methods that have no return value.
Definition: action.h:40