Package com.walkfares.odsl.var
Class VariableParser
java.lang.Object
com.walkfares.odsl.var.VariableParser
public class VariableParser extends Object
-
Constructor Summary
Constructors Constructor Description VariableParser()
-
Method Summary
Modifier and Type Method Description static void
addListener(ParserAdaptorListener l)
<T> T
parse(String json, Class<T> clazz)
VariableParser
setContext(OpenDSLContext context)
String
stringify(com.google.gson.JsonElement json)
String
stringify(Var var)
String
toJson(Var var)
String
toJson(Var var, boolean standalone)
String
toJson(Var var, OpenDSLContext context)
String
toJson(Object var)
com.google.gson.JsonElement
toJsonElement(Var var)
Map<String,Object>
toMap(Var var)
<T> T
toObject(String json, Class<T> clazz)
com.google.gson.JsonElement
toResponseJson(Var var)
Var
toVar(com.google.gson.JsonObject json)
Var
toVar(String json)
Var
toVar(Map map)
-
Constructor Details
-
VariableParser
public VariableParser()
-
-
Method Details