Skip to main content
FLEX json utilities.

Frequently Asked Questions

FLEX JSON functions provide serialization (value to JSON string) and parsing (JSON string to map or list) utilities for use in Cypher queries.
They handle errors gracefully — fromJsonMap returns an empty map {} and fromJsonList returns an empty list [] on parse failures, without throwing exceptions.
Use the namespace flex.json.<function>(). For example: flex.json.toJson({name: 'Alice'}) returns a JSON string.