JsonValueOfJsonString

JsonValueOfJsonString class

class JsonValueOfJsonString : public System::Text::Json::Nodes::JsonValueBase

Methods

MethodDescription
System::SharedPtr<JsonArray> AsArray()
System::SharedPtr<JsonObject> AsObject()
System::SharedPtr<JsonValueBase> AsValue()
static System::SharedPtr<JsonValueBase> Create(bool, Nullable<JsonNodeOptions>)
static System::SharedPtr<JsonValueBase> Create(Nullable<bool>, Nullable<JsonNodeOptions>)
static System::SharedPtr<JsonValueBase> Create(uint8_t, Nullable<JsonNodeOptions>)
static System::SharedPtr<JsonValueBase> Create(Nullable<uint8_t>, Nullable<JsonNodeOptions>)
static System::SharedPtr<JsonValueBase> Create(char16_t, Nullable<JsonNodeOptions>)
static System::SharedPtr<JsonValueBase> Create(Nullable<char16_t>, Nullable<JsonNodeOptions>)
static System::SharedPtr<JsonValueBase> Create(DateTime, Nullable<JsonNodeOptions>)
static System::SharedPtr<JsonValueBase> Create(Nullable<DateTime>, Nullable<JsonNodeOptions>)
static System::SharedPtr<JsonValueBase> Create(DateTimeOffset, Nullable<JsonNodeOptions>)
static System::SharedPtr<JsonValueBase> Create(Nullable<DateTimeOffset>, Nullable<JsonNodeOptions>)
static System::SharedPtr<JsonValueBase> Create(Decimal, Nullable<JsonNodeOptions>)
static System::SharedPtr<JsonValueBase> Create(Nullable<Decimal>, Nullable<JsonNodeOptions>)
static System::SharedPtr<JsonValueBase> Create(double, Nullable<JsonNodeOptions>)
static System::SharedPtr<JsonValueBase> Create(Nullable<double>, Nullable<JsonNodeOptions>)
static System::SharedPtr<JsonValueBase> Create(Guid, Nullable<JsonNodeOptions>)
static System::SharedPtr<JsonValueBase> Create(Nullable<Guid>, Nullable<JsonNodeOptions>)
static System::SharedPtr<JsonValueBase> Create(int16_t, Nullable<JsonNodeOptions>)
static System::SharedPtr<JsonValueBase> Create(Nullable<int16_t>, Nullable<JsonNodeOptions>)
static System::SharedPtr<JsonValueBase> Create(int32_t, Nullable<JsonNodeOptions>)
static System::SharedPtr<JsonValueBase> Create(Nullable<int32_t>, Nullable<JsonNodeOptions>)
static System::SharedPtr<JsonValueBase> Create(int64_t, Nullable<JsonNodeOptions>)
static System::SharedPtr<JsonValueBase> Create(Nullable<int64_t>, Nullable<JsonNodeOptions>)
static System::SharedPtr<JsonValueBase> Create(int8_t, Nullable<JsonNodeOptions>)
static System::SharedPtr<JsonValueBase> Create(Nullable<int8_t>, Nullable<JsonNodeOptions>)
static System::SharedPtr<JsonValueBase> Create(float, Nullable<JsonNodeOptions>)
static System::SharedPtr<JsonValueBase> Create(Nullable<float>, Nullable<JsonNodeOptions>)
static System::SharedPtr<JsonValueBase> Create(String, Nullable<JsonNodeOptions>)
static System::SharedPtr<JsonValueBase> Create(uint16_t, Nullable<JsonNodeOptions>)
static System::SharedPtr<JsonValueBase> Create(Nullable<uint16_t>, Nullable<JsonNodeOptions>)
static System::SharedPtr<JsonValueBase> Create(uint32_t, Nullable<JsonNodeOptions>)
static System::SharedPtr<JsonValueBase> Create(Nullable<uint32_t>, Nullable<JsonNodeOptions>)
static System::SharedPtr<JsonValueBase> Create(uint64_t, Nullable<JsonNodeOptions>)
static System::SharedPtr<JsonValueBase> Create(Nullable<uint64_t>, Nullable<JsonNodeOptions>)
static System::SharedPtr<JsonValueBase> Create(JsonElement, Nullable<JsonNodeOptions>)
static System::SharedPtr<JsonValueBase> Create(Nullable<JsonElement>, Nullable<JsonNodeOptions>)
static System::SharedPtr<JsonValueBase> Create(T, System::SharedPtr<Serialization::Metadata::JsonTypeInfo<T>>, Nullable<JsonNodeOptions>)
System::SharedPtr<JsonNode> DeepClone()
System::SharedPtr<JsonNode> DeepCloneCore() override
static bool DeepEquals(System::SharedPtr<JsonNode>, System::SharedPtr<JsonNode>)
virtual bool Equals(ptr)Compares objects using C# Object.Equals semantics.
static std::enable_if<IsSmartPtr<T1>::value&&IsSmartPtr<T2>::value, bool>::type Equals(T1 const&, T2 const&)Compares reference type objects in C# style.
static std::enable_if<!IsSmartPtr<T1>::value&&!IsSmartPtr<T2>::value, bool>::type Equals(T1 const&, T2 const&)Compares value type objects in C# style.
static bool Equals(float const&, float const&)Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN.
static bool Equals(double const&, double const&)Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN.
virtual bool FastCast(const Details::FastRttiBase&, void **) constFor internal purposes only.
Nullable<JsonNodeOptions> get_Options()
System::SharedPtr<JsonNode> get_Parent()
System::SharedPtr<JsonNode> get_Root()
Detail::SmartPtrCounter * GetCounter()Gets reference counter data structure associated with the object.
int32_t GetElementIndex()
virtual int32_t GetHashCode() constAnalog of C# Object.GetHashCode() method. Enables hashing of custom objects.
String GetPath()
String GetPropertyName()
virtual const TypeInfo& GetType() constGets actual type of object. Analog of C# System.Object.GetType() call.
T GetValue()
JsonValueKind GetValueKind()
System::SharedPtr<JsonNode> idx_get(int32_t)
System::SharedPtr<JsonNode> idx_get(String)
void idx_set(int32_t, System::SharedPtr<JsonNode>)
void idx_set(String, System::SharedPtr<JsonNode>)
virtual bool Is(const TypeInfo&) constCheck if object represents an instance of type described by targetType. Analog of C# ‘is’ operator.
JsonValueOfJsonString(ReadOnlyMemory<uint8_t>, Nullable<JsonNodeOptions>)
void Lock()Implements C# lock() statement locking. Call directly or use LockContext sentry object.
virtual ptr MemberwiseClone() constAnalog of C# Object.MemberwiseClone() method. Enables cloning custom types.
Object()Creates object. Initializes all internal data structures.
Object(Object const&)Copy constructor. Doesn’t copy anything, really, just initializes new object and enables copy constructing subclasses.
Object& operator=(Object const&)Assignment operator. Doesn’t copy anything, really, just initializes new object and enables copy constructing subclasses.
static System::SharedPtr<JsonNode> Parse(Utf8JsonReader&, Nullable<JsonNodeOptions>)
static System::SharedPtr<JsonNode> Parse(String, Nullable<JsonNodeOptions>, JsonDocumentOptions)
static System::SharedPtr<JsonNode> Parse(ReadOnlySpan<uint8_t>, Nullable<JsonNodeOptions>, JsonDocumentOptions)
static System::SharedPtr<JsonNode> Parse(System::SharedPtr<IO::Stream>, Nullable<JsonNodeOptions>, JsonDocumentOptions)
static bool ReferenceEquals(ptr const&, ptr const&)Compares objects by reference.
static std::enable_if<!IsSmartPtr<T>::value, bool>::type ReferenceEquals(T const&, T const&)Compares objects by reference.
static std::enable_if<!IsSmartPtr<T>::value, bool>::type ReferenceEquals(T const&, std::nullptr_t)Reference-compares value type object with nullptr.
bool ReferenceEquals(String const&, std::nullptr_t)Specialization of Object::ReferenceEquals for case of string and nullptr.
bool ReferenceEquals(String const&, String const&)Specialization of Object::ReferenceEquals for case of strings.
int RemovedSharedRefs(int)Decreases shared reference count by specified value.
virtual void SetTemplateWeakPtr(uint32_t)Set n’th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode.
int SharedCount() constGets current value of shared reference counter.
Object * SharedRefAdded()Increments shared reference count. Shouldn’t be called directly; instead, use smart pointers or ThisProtector.
int SharedRefRemovedSafe()Decrements and returns shared reference count. Shouldn’t be called directly; instead, use smart pointers or ThisProtector.
static bool to_Boolean(System::SharedPtr<JsonNode>)
static Nullable<bool> to_BooleanNullable(System::SharedPtr<JsonNode>)
static uint8_t to_Byte(System::SharedPtr<JsonNode>)
static Nullable<uint8_t> to_ByteNullable(System::SharedPtr<JsonNode>)
static char16_t to_Char(System::SharedPtr<JsonNode>)
static Nullable<char16_t> to_CharNullable(System::SharedPtr<JsonNode>)
static DateTime to_DateTime(System::SharedPtr<JsonNode>)
static Nullable<DateTime> to_DateTimeNullable(System::SharedPtr<JsonNode>)
static DateTimeOffset to_DateTimeOffset(System::SharedPtr<JsonNode>)
static Nullable<DateTimeOffset> to_DateTimeOffsetNullable(System::SharedPtr<JsonNode>)
static Decimal to_Decimal(System::SharedPtr<JsonNode>)
static Nullable<Decimal> to_DecimalNullable(System::SharedPtr<JsonNode>)
static double to_Double(System::SharedPtr<JsonNode>)
static Nullable<double> to_DoubleNullable(System::SharedPtr<JsonNode>)
static Guid to_Guid(System::SharedPtr<JsonNode>)
static Nullable<Guid> to_GuidNullable(System::SharedPtr<JsonNode>)
static int16_t to_Int16(System::SharedPtr<JsonNode>)
static Nullable<int16_t> to_Int16Nullable(System::SharedPtr<JsonNode>)
static int32_t to_Int32(System::SharedPtr<JsonNode>)
static Nullable<int32_t> to_Int32Nullable(System::SharedPtr<JsonNode>)
static int64_t to_Int64(System::SharedPtr<JsonNode>)
static Nullable<int64_t> to_Int64Nullable(System::SharedPtr<JsonNode>)
static System::SharedPtr<JsonNode> to_JsonNode(bool)
static System::SharedPtr<JsonNode> to_JsonNode(Nullable<bool>)
static System::SharedPtr<JsonNode> to_JsonNode(uint8_t)
static System::SharedPtr<JsonNode> to_JsonNode(Nullable<uint8_t>)
static System::SharedPtr<JsonNode> to_JsonNode(char16_t)
static System::SharedPtr<JsonNode> to_JsonNode(Nullable<char16_t>)
static System::SharedPtr<JsonNode> to_JsonNode(DateTime)
static System::SharedPtr<JsonNode> to_JsonNode(Nullable<DateTime>)
static System::SharedPtr<JsonNode> to_JsonNode(DateTimeOffset)
static System::SharedPtr<JsonNode> to_JsonNode(Nullable<DateTimeOffset>)
static System::SharedPtr<JsonNode> to_JsonNode(Decimal)
static System::SharedPtr<JsonNode> to_JsonNode(Nullable<Decimal>)
static System::SharedPtr<JsonNode> to_JsonNode(double)
static System::SharedPtr<JsonNode> to_JsonNode(Nullable<double>)
static System::SharedPtr<JsonNode> to_JsonNode(Guid)
static System::SharedPtr<JsonNode> to_JsonNode(Nullable<Guid>)
static System::SharedPtr<JsonNode> to_JsonNode(int16_t)
static System::SharedPtr<JsonNode> to_JsonNode(Nullable<int16_t>)
static System::SharedPtr<JsonNode> to_JsonNode(int32_t)
static System::SharedPtr<JsonNode> to_JsonNode(Nullable<int32_t>)
static System::SharedPtr<JsonNode> to_JsonNode(int64_t)
static System::SharedPtr<JsonNode> to_JsonNode(Nullable<int64_t>)
static System::SharedPtr<JsonNode> to_JsonNode(int8_t)
static System::SharedPtr<JsonNode> to_JsonNode(Nullable<int8_t>)
static System::SharedPtr<JsonNode> to_JsonNode(float)
static System::SharedPtr<JsonNode> to_JsonNode(Nullable<float>)
static System::SharedPtr<JsonNode> to_JsonNode(String)
static System::SharedPtr<JsonNode> to_JsonNode(uint16_t)
static System::SharedPtr<JsonNode> to_JsonNode(Nullable<uint16_t>)
static System::SharedPtr<JsonNode> to_JsonNode(uint32_t)
static System::SharedPtr<JsonNode> to_JsonNode(Nullable<uint32_t>)
static System::SharedPtr<JsonNode> to_JsonNode(uint64_t)
static System::SharedPtr<JsonNode> to_JsonNode(Nullable<uint64_t>)
static int8_t to_SByte(System::SharedPtr<JsonNode>)
static Nullable<int8_t> to_SByteNullable(System::SharedPtr<JsonNode>)
static float to_Single(System::SharedPtr<JsonNode>)
static Nullable<float> to_SingleNullable(System::SharedPtr<JsonNode>)
static String to_String(System::SharedPtr<JsonNode>)
static uint16_t to_UInt16(System::SharedPtr<JsonNode>)
static Nullable<uint16_t> to_UInt16Nullable(System::SharedPtr<JsonNode>)
static uint32_t to_UInt32(System::SharedPtr<JsonNode>)
static Nullable<uint32_t> to_UInt32Nullable(System::SharedPtr<JsonNode>)
static uint64_t to_UInt64(System::SharedPtr<JsonNode>)
static Nullable<uint64_t> to_UInt64Nullable(System::SharedPtr<JsonNode>)
String ToJsonString(System::SharedPtr<JsonSerializerOptions>)
String ToString() const overrideAnalog of C# Object.ToString() method. Enables converting custom objects to string.
bool TryGetValue(T&)
static const TypeInfo& Type()Implements C# typeof(System.Object) construct.
void Unlock()Implements C# lock() statement unlocking. Call directly or use LockContext sentry object.
Detail::SmartPtrCounter * WeakRefAdded()Increments weak reference count. Shouldn’t be called directly; instead, use smart pointers or ThisProtector.
void WeakRefRemoved()Decrements weak reference count. Shouldn’t be called directly; instead, use smart pointers or ThisProtector.
void WriteTo(System::SharedPtr<Utf8JsonWriter>, System::SharedPtr<JsonSerializerOptions>) override
virtual ~Object()Destroys object. Frees all internal data structures.

See Also