* @ibm-api
*/
public static Object fromJson(JsonFactory factory, String json) throws JsonException {
try {
Json parser = getParser(factory,new java.io.StringReader(json));
return parser.parseJson();
} catch(Throwable ex) {
throw new JsonException(ex,"Error when parsing JSON string"); // $NLS-JsonParser.ErrorwhenparsingJSONstring-1$
}
}