Class
JsonString
class JsonString
Module: System.Data.Json
Assembly: System.Data.dll
Source file: JsonValue.rvn
Inheritance: Object → JsonValue → JsonString
Part of closed hierarchy: JsonValue
Immutable string-valued JSON node.
Constructors
1 item
JsonString(value: string)
Creates a string node.
Properties
1 item
Value: string
Gets the retained string value.
Methods
6 items
Equals(other: object?) -> bool
Tests reference identity by default; an ordinary class may override equality.
Inherited from Object.Equals
GetHashCode() -> int
Returns a stable identity hash by default; an ordinary class may override it consistently with equality.
Inherited from Object.GetHashCode
GetType() -> TypeInfo
Returns metadata for the concrete runtime type of this instance.
Inherited from Object.GetType
ToJsonString() -> Result<string, JsonError>
Converts this node to compact JSON text, including JSON quoting and escaping for strings.
Inherited from JsonValue.ToJsonString
ToJsonString(options: JsonSerializerOptions) -> Result<string, JsonError>
Converts this node to JSON text using the selected formatting.
Inherited from JsonValue.ToJsonString
ToString() -> string
Returns the concrete runtime type name for supported references, or display text from a class or boxed-struct override.
Inherited from Object.ToString