KGy SOFT

JsonProperty Structure

KGy SOFT JSON Libraries Help
Represents a property in a JsonObject.

Namespace:  KGySoft.Json
Assembly:  KGySoft.Json (in KGySoft.Json.dll) Version: 2.0.0
Syntax

[SerializableAttribute]
public readonly struct JsonProperty : IEquatable<JsonProperty>

The JsonProperty type exposes the following members.

Constructors

  NameDescription
Public methodJsonProperty
Initializes a new instance of the JsonProperty struct.
Top
Properties

  NameDescription
Public propertyName
Gets the name of the property. It can be only for a default JsonProperty instance that was created without the public constructor.
Public propertyValue
Gets the value of the property.
Top
Methods

  NameDescription
Public methodEquals(JsonProperty)
Indicates whether the current JsonProperty instance is equal to another one specified in the other parameter.
Public methodEquals(Object)
Determines whether the specified object is equal to this instance.
(Overrides ValueTypeEquals(Object).)
Public methodGetHashCode
Returns a hash code for this JsonProperty instance.
(Overrides ValueTypeGetHashCode.)
Public methodToString
Gets the string representation of this JsonProperty.
(Overrides ValueTypeToString.)
Top
Operators

  NameDescription
Public operatorStatic memberEquality
Determines whether two specified JsonProperty instances have the same value.
Public operatorStatic member(KeyValuePairString, JsonValue to JsonProperty)
Public operatorStatic member(ValueTupleString, JsonValue to JsonProperty)
Public operatorStatic memberInequality
Determines whether two specified JsonProperty instances have different values.
Top
See Also

Reference