public class JsonParser extends Object
A parser for a JSON string which produces LSPS objects.
Constructor and Description |
---|
JsonParser() |
Modifier and Type | Method and Description |
---|---|
Object |
parse(String json,
Type resultType,
Namespace namespace,
Module langModule)
Parses the JSON string and produces LSPS objects out of it.
|
public Object parse(String json, Type resultType, Namespace namespace, Module langModule)
json
- The JSON string.resultType
- The type of the result. If the result is a collection then the type
represents the collection item.namespace
- The name space in which the objects should be created.langModule
- the language module of the process modelCopyright © 2007-2018 Whitestein Technologies. All Rights Reserved.