* @throws JsonException
* @ibm-api
*/
public static void fromJson(JsonFactory factory, Reader reader, ParseCallback cb) throws JsonException {
try {
Json parser = getParser(factory,reader);
parser.parseJsonCallback(cb);
} catch(Throwable ex) {
throw new JsonException(ex,"Error when parsing JSON stream");
}
}