The interface for a haystack value.
Each haystack encoded value should declare a static factory 'make' method used for creating values. All constructors should be kept private (or protected).
Compares two numbers.
The value to compare against.
The sort order as negative, 0, or positive
Value equality check.
The value used to check for equality.
True if the value is the same.
The value's kind.
Dump the value to the local console output.
Optional
An optional message to display before the value.
The value instance.
Compares the value's kind.
The kind to compare against.
True if the kind matches.
Returns true if the haystack filter matches the value.
The filter to test.
Optional haystack filter evaluation context.
True if the filter matches ok.
Returns a new copy of the underlying value.
If the value is immutable, the value will simply return itself. If mutable, the value will return a brand new copy of the value.
A value.
An Axon encoded representation of the value.
The value as a dict.
Encodes to an encoded zinc value that can be used in a haystack filter string.
The encoding for a haystack filter is mostly zinc but contains some exceptions.
The encoded value that can be used in a haystack filter.
The value as a grid.
A JSON reprentation of the object.
A string containing the JSON representation of the object.
A byte buffer that has an encoded JSON string representation of the object.
Encode the value using the older Haystack version 3 JSON encoding. Please note, this has been supplanted by the newer Hayson JSON format (use toJSON).
Hayson
toJSON
https://project-haystack.org/doc/docHaystack/Json
A JSON v3 representation of the object.
The value as a list.
A string representation of the value.
Encodes to an encoding zinc value.
An optional flag used to indiciate whether the value being encoded is nested.
The encoded zinc string.
The interface for a haystack value.
Each haystack encoded value should declare a static factory 'make' method used for creating values. All constructors should be kept private (or protected).