Step - property_json

property_json · propertyJson · category: Changing the graph

Sets every key of the given map (or JSON object) as a property of the incoming vertex (Graphersal extension).

Forms

property_json(arg1: any)

Example

g.v(1).property_json(#{age: 30, tags: ["a", "b"]}).values("tags").next()   // ["a", "b"]

See also