Changeset 77
- Timestamp:
- 06/29/09 09:11:38 (16 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/src/json/json_tmcl.lisp ¶
r70 r77 36 36 (get-constraints-of-topic topics :treat-as treat-as))) 37 37 (concatenate 'string "\"topicConstraints\":" value)))) 38 (let ((available-associations ;what's with association which have only a associationrole-constraints?38 (let ((available-associations 39 39 (remove-duplicates 40 40 (loop for topic in topics -
TabularUnified trunk/src/json/json_tmcl_validation.lisp ¶
r70 r77 288 288 289 289 (when (not topictype-constraint) 290 (return-from valid-instance-p topic-instance))290 (return-from valid-instance-p (list topic-instance))) 291 291 292 292 (when (and topictype-constraint -
TabularUnified trunk/src/rest_interface/set-up-json-interface.lisp ¶
r70 r77 170 170 (let ((json-data (hunchentoot:raw-post-data :external-format external-format :force-text t))) 171 171 (handler-case (let ((psis 172 (json:decode-json-from-string json-data))) 173 (let ((tmcl 172 (json:decode-json-from-string json-data))) 173 (let ((tmcl 174 174 (json-tmcl:get-constraints-of-fragment psis :treat-as treat-as))) 175 175 (if tmcl
Note: See TracChangeset
for help on using the changeset viewer.