added log on json parser
This commit is contained in:
parent
eb61aebcd5
commit
b29b4e1fd7
|
@ -101,7 +101,6 @@ public class RunSPARQLQueryService {
|
|||
parser.setCollection(true);
|
||||
}
|
||||
String bufferedRecord = recordWriter.toString();
|
||||
log.debug("before json parser :: "+bufferedRecord);
|
||||
int size = parser.parse(bufferedRecord);
|
||||
log.debug("json elements: "+size);
|
||||
if (size==-1) {
|
||||
|
|
|
@ -55,6 +55,8 @@ public class ParseRDFJSON {
|
|||
setJson(json);
|
||||
fillMap();
|
||||
DocumentContext jsonContext = JsonPath.parse(json);
|
||||
log.debug("jsonPath: "+getCatalogEntryJsonPath());
|
||||
log.debug("json from jsonContext: "+json);
|
||||
JSONArray entries = jsonContext.read(getCatalogEntryJsonPath());
|
||||
int size = entries.size();
|
||||
if (size==0) {
|
||||
|
|
Loading…
Reference in New Issue