Package ca.uqac.lif.cep.json
Class ParseJson
- java.lang.Object
-
- ca.uqac.lif.cep.functions.Function
-
- ca.uqac.lif.cep.functions.UnaryFunction<java.lang.String,ca.uqac.lif.json.JsonElement>
-
- ca.uqac.lif.cep.json.ParseJson
-
- All Implemented Interfaces:
ca.uqac.lif.azrael.Printable
,ca.uqac.lif.azrael.Readable
,ca.uqac.lif.cep.Duplicable
,ca.uqac.lif.cep.functions.DuplicableFunction
public class ParseJson extends ca.uqac.lif.cep.functions.UnaryFunction<java.lang.String,ca.uqac.lif.json.JsonElement>
Function that converts a string into a JSON element
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ca.uqac.lif.json.JsonElement
getValue(java.lang.String x)
-
Methods inherited from class ca.uqac.lif.cep.functions.UnaryFunction
duplicate, evaluate, getInputArity, getInputTypesFor, getOutputArity, getOutputTypeFor, reset
-
-
-
-
Field Detail
-
instance
public static ParseJson instance
Instance of the function
-
s_parser
protected static final ca.uqac.lif.json.JsonParser s_parser
The parser used to parse the elements. All instances of the function share the same parser.
-
-