Open anushasivaraman opened 5 years ago
Please provide an example. Issues should be filed at github,com/w3c/json-ld-api, -syntax, or -framing depending on the nature of the issue.
list am passing with single element in json : JsonLdProcessor.frame(json, getFrame(), js);
it returns li in object type "li" :{ "type" : "xsd:integer", "@value" : "2" }
if that list contains two elements then it returns array type: "li" : [ { "type" : "xsd:integer", "@value" : "2" }, "AA"]
Issue while compacting the list of single item in framing algorithm : i am trying to pass single element in the list and passing to through framing alogorithm the return type which json ld form is in the form of object type of json and not in the array type of json