public class JsonParser
extends java.lang.Object
A parser for a JSON string which produces LSPS objects.
Constructor and Description |
---|
JsonParser() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
parse(java.lang.String json,
Type resultType,
ExecutionContext ctx)
Parses the JSON string and produces LSPS objects out of it.
|
java.lang.Object |
parse(java.lang.String json,
Type resultType,
ExecutionContext ctx,
boolean doInsert,
boolean doUpdate) |
public java.lang.Object parse(java.lang.String json, Type resultType, ExecutionContext ctx)
json
- The JSON string.resultType
- The type of the result. If the result is a collection then the type
represents the collection item.ctx
- The execution context in which the objects should be created.public java.lang.Object parse(java.lang.String json, Type resultType, ExecutionContext ctx, boolean doInsert, boolean doUpdate)
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.