Interface IPartialJSON
The constraint requiring the current value of the JSON topic to match the partially described value.
Inherited Members
Namespace: PushTechnology.ClientInterface.Client.Features
Assembly: Diffusion.Client.dll
Syntax
public interface IPartialJSON : IUpdateConstraint
Methods
With<TValue>(String, TValue)
Requires a value at a specific position in the JSON object.
Declaration
IPartialJSON With<TValue>(string pointer, TValue value)
Parameters
Type | Name | Description |
---|---|---|
String | pointer | The pointer expression. |
TValue | value | The value. |
Returns
Type | Description |
---|---|
IPartialJSON | The new constraint including the specified |
Type Parameters
Name | Description |
---|---|
TValue | The value type of the value at the pointer. |
Remarks
The pointer
is a JSON Pointer (https://tools.ietf.org/html/rfc6901) syntax reference
locating the value
in the JSON object.
The pointer
syntax is not being verified for correctness.
Without(String)
Requires a specific position in the JSON object to be empty.
Declaration
IPartialJSON Without(string pointer)
Parameters
Type | Name | Description |
---|---|---|
String | pointer | The pointer expression. |
Returns
Type | Description |
---|---|
IPartialJSON | The new constraint including the specified |
Remarks
The pointer
is a JSON Pointer (https://tools.ietf.org/html/rfc6901) syntax reference
that should have no value in the JSON object.
The pointer
syntax is not being verified for correctness.