Table of Contents

Class GetJsonProperty

Namespace
Albatross.Expression.Prefix
Assembly
Albatross.Expression.dll

return the json property using the supplied path. Operand 1 is the input json value, if the input is text, it will be parsed into a json element. Operand 2 and beyond are the json property path.

public class GetJsonProperty : PrefixExpression, IPrefixExpression, IExpression, IToken
Inheritance
GetJsonProperty
Implements
Inherited Members
Extension Methods

Constructors

GetJsonProperty()

public GetJsonProperty()

Methods

Run(List<object>)

Executes the prefix function with the evaluated operand values. Derived classes should override this method to implement specific function logic.

protected override object Run(List<object> operands)

Parameters

operands List<object>

The list of evaluated operand values.

Returns

object

The result of the function.