Show / Hide Table of Contents

    Class JsonPointerValueExtractor

    Implements an object value extractor that retrieves a part from provided JSON string using JSON Pointer expression (https://tools.ietf.org/html/rfc6901).

    Inheritance
    Object
    ValueExtractorBase
    JsonPointerValueExtractor
    Implements
    IValidator
    IEquatable<ValueExtractorBase>
    IExtensibleDataObject
    Inherited Members
    ValueExtractorBase.ErrorMessage
    ValueExtractorBase.ExtensionData
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Nevatech.Vsb.Repository.Processing
    Assembly: Nevatech.Vsb.Repository.dll
    Syntax
    public sealed class JsonPointerValueExtractor : ValueExtractorBase, IValidator, IEquatable<ValueExtractorBase>, IExtensibleDataObject

    Constructors

    JsonPointerValueExtractor()

    Declaration
    public JsonPointerValueExtractor()

    Fields

    ElementName

    Name of the root element when object is serialized to XML.

    Declaration
    public const string ElementName = "EXTRACT-JSON-POINTER"
    Field Value
    Type Description
    String

    Properties

    JsonPointer

    Gets or sets JSON pointer expression that has to evaluate to a value.

    Declaration
    public string JsonPointer { get; set; }
    Property Value
    Type Description
    String

    TrimQuotes

    Gets or sets the flag indicating that leading and trailing quotes (if present) must be removed from the resulting value.

    Declaration
    public bool TrimQuotes { get; set; }
    Property Value
    Type Description
    Boolean

    Methods

    Equals(ValueExtractorBase)

    Determines whether the specified object is equal to the current object.

    Declaration
    public override bool Equals(ValueExtractorBase other)
    Parameters
    Type Name Description
    ValueExtractorBase other

    The object to compare with the current object.

    Returns
    Type Description
    Boolean

    True if the specified object is equal to the current object; otherwise, false.

    Overrides
    ValueExtractorBase.Equals(ValueExtractorBase)

    Equals(Object)

    Determines whether the specified object is equal to the current object.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj

    The object to compare with the current object.

    Returns
    Type Description
    Boolean

    True if the specified object is equal to the current object; otherwise, false.

    Overrides
    ValueExtractorBase.Equals(Object)

    Extract(MessagePipelineContext, Object)

    Extracts and formats a value from provided object.

    Declaration
    public override object Extract(MessagePipelineContext context, object value)
    Parameters
    Type Name Description
    MessagePipelineContext context

    Provides the message processing context.

    Object value

    An object to extract value from.

    Returns
    Type Description
    Object

    A value extracted from the object.

    Overrides
    ValueExtractorBase.Extract(MessagePipelineContext, Object)

    GetHashCode()

    Returns hash code for the value of this instance.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32

    Hash code for the value of this instance.

    Overrides
    ValueExtractorBase.GetHashCode()

    ToString()

    Returns string representation of the object.

    Declaration
    public override string ToString()
    Returns
    Type Description
    String

    String representing the object's content.

    Overrides
    Object.ToString()

    Validate()

    Evaluates the state of the object.

    Declaration
    public override bool Validate()
    Returns
    Type Description
    Boolean

    True if state is valid; otherwise, false.

    Overrides
    ValueExtractorBase.Validate()

    Implements

    IValidator
    System.IEquatable<T>
    System.Runtime.Serialization.IExtensibleDataObject
    Back to top Nevatech Sentinet 6.5 Online Documentation