Hypermedea / hypermedea

Main repository for the Hypermedea programming framework
5 stars 1 forks source link

change ThingArtifact input #4

Closed vcharpenay closed 3 years ago

vcharpenay commented 3 years ago

make readProperty/writeProperty take a single Object as output (a Jason structure or list) that is parsed and turned into a JSON value.

vcharpenay commented 3 years ago

on-going, see b19f32a9e16556278f4398fc67bd5b350bc9bdde.

To do: deal with arrays (ListTerms) and objects (Structures).

vcharpenay commented 3 years ago

done. (Possible improvement: JSON library as Prolog rules to process JSON values)