Skip to content
Snippets Groups Projects
Commit 6cc60eb8 authored by Isa H's avatar Isa H
Browse files

fixed JSON "skos:prefLabel" labelValueObj.put

parent 76f68436
Branches develop
No related tags found
No related merge requests found
...@@ -62,13 +62,14 @@ public abstract class AbstractTerm { ...@@ -62,13 +62,14 @@ public abstract class AbstractTerm {
JSONObject labelValueObj = new JSONObject(); JSONObject labelValueObj = new JSONObject();
labelValueObj.put("@value", this.label); labelValueObj.put("@value", this.label);
labelValueObj.put("@language", "eng");
JSONObject labelLangObj = new JSONObject(); //JSONObject labelLangObj = new JSONObject();
labelLangObj.put("@language", "eng"); //labelLangObj.put("@language", "eng");
labelArray.put(labelValueObj); labelArray.put(labelValueObj);
labelArray.put(labelLangObj); //labelArray.put(labelLangObj);
// add type, fixed // add type, fixed
output.put("@type", "skos:Concept"); output.put("@type", "skos:Concept");
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment