Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
JsonDecode.cs
1using System;
2using Waher.Content;
3using Waher.Script;
8
10{
15 {
24 : base(Json, Start, Length, Expression)
25 {
26 }
27
31 public override string FunctionName => nameof(JsonDecode);
32
40 {
42 }
43
44 }
45}
Helps with common JSON-related tasks.
Definition: JSON.cs:14
static object Parse(string Json)
Parses a JSON string.
Definition: JSON.cs:43
JsonDecode(ScriptNode Json, int Start, int Length, Expression Expression)
JsonDecode(Json)
Definition: JsonDecode.cs:23
override IElement EvaluateScalar(string Argument, Variables Variables)
Evaluates the function on a scalar argument.
Definition: JsonDecode.cs:39
override string FunctionName
Name of the function
Definition: JsonDecode.cs:31
Class managing a script expression.
Definition: Expression.cs:39
static IElement Encapsulate(object Value)
Encapsulates an object.
Definition: Expression.cs:4955
Base class for funcions of one scalar string variable.
ScriptNode Argument
Function argument.
Base class for all nodes in a parsed script tree.
Definition: ScriptNode.cs:69
int Length
Length of expression covered by node.
Definition: ScriptNode.cs:101
int Start
Start position in script expression.
Definition: ScriptNode.cs:92
Collection of variables.
Definition: Variables.cs:25
Basic interface for all types of elements.
Definition: IElement.cs:20