set (ArrayList) property as JSON string


Eser Kandogan <eserka...@...>
 

Hi,

In 3.2.4 I used to be able to set a property with a value of ArrayList, 

for example:
g.V(1234).property('followers',inE('follows').outV().valueMap('name','age').fold())

but it seems I can't do it on Janus graph. It gives me an error:
Property value... is of type class java.util.ArrayList is not supported.

I tried to set it as JSON string:
g.V(1234).property('followers',JsonOutput.toJson(inE('follows').outV().valueMap('name','age').fold()))

it sets it to [].

How can I set a property as JSONized ArrayList? Thanks.

Eser Kandogan

Join {janusgraph-users@lists.lfaidata.foundation to automatically receive all group messages.