Click or drag to resize

HazelcastJsonValue Class

HazelcastJsonValue is a wrapper for Json formatted strings. It is preferred to store HazelcastJsonValue instead of Strings for Json formatted strings. Users can run predicates/aggregations and use indexes on the attributes of the underlying Json strings.
Inheritance Hierarchy
SystemObject
  Hazelcast.CoreHazelcastJsonValue

Namespace:  Hazelcast.Core
Assembly:  Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.12.3
Syntax
public sealed class HazelcastJsonValue

The HazelcastJsonValue type exposes the following members.

Constructors
  NameDescription
Public methodHazelcastJsonValue
Creates a HazelcastJsonValue from given string.
Top
Methods
  NameDescription
Public methodEquals (Overrides ObjectEquals(Object).)
Public methodGetHashCode (Overrides ObjectGetHashCode.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns unaltered string that was used to create this object.
(Overrides ObjectToString.)
Top
Remarks
HazelcastJsonValue is queried using Hazelcast's querying language. See Predicates.
In terms of querying, numbers in Json strings are treated as either long or double. strings, booleans and null are treated as their .net counterparts.
HazelcastJsonValue keeps given string as it is. Strings are not checked for being valid. Ill-formatted json strings may cause false positive or false negative results in queries. null string is not allowed.
See Also