3#include <system/object_ext.h>
4#include <system/nullable.h>
5#include <system/guid.h>
6#include <system/exceptions.h>
7#include <system/default.h>
8#include <system/decimal.h>
9#include <system/date_time_offset.h>
10#include <system/date_time.h>
13#include "system/text/json/nodes/json_node_options.h"
14#include "system/text/json/document/json_document_options.h"
15#include "system/text/json/document/json_element.h"
23template <
typename>
class ReadOnlySpan;
29class JsonSerializerOptions;
36class JsonValueOfElement;
41class ValueStringBuilder;
58 typedef ::System::BaseTypesInfo<BaseType> ThisTypeBaseTypesInfo;
183 #ifdef ASPOSE_GET_SHARED_MEMBERS
184 void GetSharedMembers(System::Object::shared_members_type& result)
const override;
196 String ToString_NonConst();
Represents a specific date and time value on the time continuum. This type should be allocated on sta...
Definition: date_time.h:50
Contains the date and time of day relative to Coordinated Universal Time. Objects of this class shoul...
Definition: date_time_offset.h:16
Represents a decimal number. This type should be allocated on stack and passed to functions by value ...
Definition: decimal.h:107
Represents a Globally Unique IDentifier This type should be allocated on stack and passed to function...
Definition: guid.h:34
Forward declaration.
Definition: nullable.h:75
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
static String Format(const SharedPtr< IFormatProvider > &fp, const String &format, const Args &... args)
Formats string in C# style.
Definition: string.h:1449
Definition: json_document_options.h:26
Definition: json_array.h:56
Definition: json_node.h:54
virtual System::SharedPtr< JsonNode > DeepCloneCore()=0
static int32_t to_Int32(System::SharedPtr< JsonNode > value)
static System::SharedPtr< JsonNode > to_JsonNode(Guid value)
static String to_String(System::SharedPtr< JsonNode > value)
T GetValue()
Definition: json_node.h:78
System::SharedPtr< JsonNode > DeepClone()
System::SharedPtr< JsonNode > idx_get(String propertyName)
static Nullable< uint16_t > to_UInt16Nullable(System::SharedPtr< JsonNode > value)
static System::SharedPtr< JsonNode > to_JsonNode(uint16_t value)
static Nullable< uint32_t > to_UInt32Nullable(System::SharedPtr< JsonNode > value)
String ToJsonString(System::SharedPtr< JsonSerializerOptions > options=nullptr)
static Nullable< float > to_SingleNullable(System::SharedPtr< JsonNode > value)
static System::SharedPtr< JsonNode > to_JsonNode(Nullable< int64_t > value)
System::SharedPtr< JsonNode > idx_get(int32_t index)
int32_t GetElementIndex()
static System::SharedPtr< JsonNode > Parse(String json, Nullable< JsonNodeOptions > nodeOptions=nullptr, JsonDocumentOptions documentOptions=System::Default< System::Text::Json::JsonDocumentOptions >())
static System::SharedPtr< JsonNode > to_JsonNode(Nullable< int16_t > value)
static System::SharedPtr< JsonNode > Parse(ReadOnlySpan< uint8_t > utf8Json, Nullable< JsonNodeOptions > nodeOptions=nullptr, JsonDocumentOptions documentOptions=System::Default< System::Text::Json::JsonDocumentOptions >())
static bool DeepEquals(System::SharedPtr< JsonNode > node1, System::SharedPtr< JsonNode > node2)
static int16_t to_Int16(System::SharedPtr< JsonNode > value)
static System::SharedPtr< JsonNode > to_JsonNode(uint32_t value)
static int64_t to_Int64(System::SharedPtr< JsonNode > value)
static Nullable< int8_t > to_SByteNullable(System::SharedPtr< JsonNode > value)
static Nullable< int32_t > to_Int32Nullable(System::SharedPtr< JsonNode > value)
static System::SharedPtr< JsonNode > to_JsonNode(Decimal value)
static Nullable< DateTimeOffset > to_DateTimeOffsetNullable(System::SharedPtr< JsonNode > value)
static char16_t to_Char(System::SharedPtr< JsonNode > value)
static uint64_t to_UInt64(System::SharedPtr< JsonNode > value)
static Nullable< bool > to_BooleanNullable(System::SharedPtr< JsonNode > value)
static System::SharedPtr< JsonNode > to_JsonNode(Nullable< uint64_t > value)
void idx_set(String propertyName, System::SharedPtr< JsonNode > value)
virtual bool DeepEqualsCore(System::SharedPtr< JsonNode > node)=0
static System::SharedPtr< JsonNode > to_JsonNode(Nullable< int32_t > value)
static System::SharedPtr< JsonNode > to_JsonNode(Nullable< uint32_t > value)
static float to_Single(System::SharedPtr< JsonNode > value)
static System::SharedPtr< JsonNode > to_JsonNode(int8_t value)
Nullable< JsonNodeOptions > get_Options()
static bool to_Boolean(System::SharedPtr< JsonNode > value)
static System::SharedPtr< JsonNode > Parse(Utf8JsonReader &reader, Nullable< JsonNodeOptions > nodeOptions=nullptr)
static System::SharedPtr< JsonNode > to_JsonNode(Nullable< bool > value)
JsonValueKind GetValueKind()
static double to_Double(System::SharedPtr< JsonNode > value)
static System::SharedPtr< JsonNode > to_JsonNode(DateTime value)
static Nullable< int16_t > to_Int16Nullable(System::SharedPtr< JsonNode > value)
virtual void WriteTo(System::SharedPtr< Utf8JsonWriter > writer, System::SharedPtr< JsonSerializerOptions > options=nullptr)=0
static DateTimeOffset to_DateTimeOffset(System::SharedPtr< JsonNode > value)
static System::SharedPtr< JsonNode > to_JsonNode(Nullable< double > value)
System::SharedPtr< JsonValueBase > AsValue()
static System::SharedPtr< JsonNode > to_JsonNode(double value)
System::SharedPtr< JsonObject > AsObject()
static Nullable< Guid > to_GuidNullable(System::SharedPtr< JsonNode > value)
JsonNode(Nullable< JsonNodeOptions > options=nullptr)
static System::SharedPtr< JsonNode > to_JsonNode(DateTimeOffset value)
System::SharedPtr< JsonArray > AsArray()
String ToString() const override
Analog of C# Object.ToString() method. Enables converting custom objects to string.
static System::SharedPtr< JsonNode > to_JsonNode(int16_t value)
static int8_t to_SByte(System::SharedPtr< JsonNode > value)
static uint8_t to_Byte(System::SharedPtr< JsonNode > value)
virtual Nullable< JsonElement > get_UnderlyingElement()
static System::SharedPtr< JsonNode > to_JsonNode(Nullable< Guid > value)
static System::SharedPtr< JsonNode > to_JsonNode(Nullable< uint16_t > value)
static System::SharedPtr< JsonNode > to_JsonNode(Nullable< char16_t > value)
static DateTime to_DateTime(System::SharedPtr< JsonNode > value)
System::SharedPtr< JsonNode > get_Parent()
static System::SharedPtr< JsonNode > to_JsonNode(char16_t value)
static Nullable< double > to_DoubleNullable(System::SharedPtr< JsonNode > value)
static Nullable< DateTime > to_DateTimeNullable(System::SharedPtr< JsonNode > value)
void set_Parent(System::SharedPtr< JsonNode > value)
static System::SharedPtr< JsonNode > to_JsonNode(String value)
void idx_set(int32_t index, System::SharedPtr< JsonNode > value)
static uint16_t to_UInt16(System::SharedPtr< JsonNode > value)
static System::SharedPtr< JsonNode > to_JsonNode(uint64_t value)
static System::SharedPtr< JsonNode > to_JsonNode(uint8_t value)
static Nullable< Decimal > to_DecimalNullable(System::SharedPtr< JsonNode > value)
static Decimal to_Decimal(System::SharedPtr< JsonNode > value)
static Nullable< uint8_t > to_ByteNullable(System::SharedPtr< JsonNode > value)
static Nullable< uint64_t > to_UInt64Nullable(System::SharedPtr< JsonNode > value)
static System::SharedPtr< JsonNode > to_JsonNode(Nullable< Decimal > value)
static System::SharedPtr< JsonNode > to_JsonNode(int64_t value)
static System::SharedPtr< JsonNode > to_JsonNode(float value)
static System::SharedPtr< JsonNode > to_JsonNode(Nullable< int8_t > value)
static System::SharedPtr< JsonNode > to_JsonNode(int32_t value)
static System::SharedPtr< JsonNode > to_JsonNode(Nullable< DateTime > value)
static Nullable< int64_t > to_Int64Nullable(System::SharedPtr< JsonNode > value)
static Nullable< char16_t > to_CharNullable(System::SharedPtr< JsonNode > value)
static System::SharedPtr< JsonNode > to_JsonNode(bool value)
static System::SharedPtr< JsonNode > Parse(System::SharedPtr< IO::Stream > utf8Json, Nullable< JsonNodeOptions > nodeOptions=nullptr, JsonDocumentOptions documentOptions=System::Default< System::Text::Json::JsonDocumentOptions >())
void AssignParent(System::SharedPtr< JsonNode > parent)
static Guid to_Guid(System::SharedPtr< JsonNode > value)
virtual void GetPath(ValueStringBuilder &path, System::SharedPtr< JsonNode > child)=0
static System::SharedPtr< JsonNode > to_JsonNode(Nullable< float > value)
static uint32_t to_UInt32(System::SharedPtr< JsonNode > value)
static System::SharedPtr< JsonNode > to_JsonNode(Nullable< DateTimeOffset > value)
System::SharedPtr< JsonNode > get_Root()
static System::SharedPtr< JsonNode > to_JsonNode(Nullable< uint8_t > value)
Definition: json_object.h:56
Definition: json_value.h:60
Definition: json_value_of_element.h:47
Definition: json_value_of_t_primitive.h:47
Definition: utf8_json_reader.h:78
Definition: value_string_builder.h:17
@ Text
Defines color adjustment information for text.
@ Stream
The type that supports reliable, two-way, connection-based byte streams without duplication of data a...
JsonValueKind
Definition: json_value_kind.h:12
Definition: db_command.h:9