Skip to content

Commit 87af6db

Browse files
committed
lookup support for JSONObject constructor
SVN r64519 |2019-09-19 16:56:04 +0000
1 parent e919979 commit 87af6db

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

java/src/org/labkey/remoteapi/domain/PropertyDescriptor.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,13 @@ public PropertyDescriptor(JSONObject json)
6565

6666
_propertyURI = (String)json.get("propertyURI");
6767
_rangeURI = (String)json.get("rangeURI");
68+
69+
if (json.get("lookupSchema") != null)
70+
_lookupSchema = (String)json.get("lookupSchema");
71+
if (json.get("lookupQuery") != null)
72+
_lookupQuery = (String)json.get("lookupQuery");
73+
if (json.get("lookupContainer") != null)
74+
_lookupContainer = (String)json.get("lookupContainer");
6875
}
6976

7077
public JSONObject toJSONObject()

0 commit comments

Comments
 (0)