From 0961ed9b5e72a567d5162042a512a3cc38f48d10 Mon Sep 17 00:00:00 2001 From: matea16 Date: Thu, 20 Nov 2025 09:52:46 +0100 Subject: [PATCH 1/2] init --- pages/release-notes.mdx | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/pages/release-notes.mdx b/pages/release-notes.mdx index e28ff3142..a13671dc2 100644 --- a/pages/release-notes.mdx +++ b/pages/release-notes.mdx @@ -42,6 +42,14 @@ troubleshoot in production. ## 🚀 Latest release +### Memgraph v3.8.0 + +### MAGE v3.8.0 + +### Lab v3.8.0 + +## Previous releases + ### Memgraph v3.7.0 - November 19th, 2025 {

⚠️ Breaking changes

} @@ -209,8 +217,6 @@ troubleshoot in production. by simply overriding the entry point. [#693](https://github.com/memgraph/mage/pull/693) -## Previous releases - ### Memgraph v3.6.2 - November 4th, 2025 - Version bump to v3.6.2 to match the latest MAGE version. From dfd9646c3c2d4dad883a4a2f55491918e3ffd49a Mon Sep 17 00:00:00 2001 From: Dr Matt James Date: Tue, 16 Dec 2025 09:56:25 +0000 Subject: [PATCH 2/2] Added load_from_str() to json_util query module (#1491) --- .../available-algorithms/json_util.mdx | 54 ++++++++++++++++++- 1 file changed, 53 insertions(+), 1 deletion(-) diff --git a/pages/advanced-algorithms/available-algorithms/json_util.mdx b/pages/advanced-algorithms/available-algorithms/json_util.mdx index ad2307870..356de08a1 100644 --- a/pages/advanced-algorithms/available-algorithms/json_util.mdx +++ b/pages/advanced-algorithms/available-algorithms/json_util.mdx @@ -144,6 +144,28 @@ YIELD objects RETURN objects; ``` +### `load_from_str()` + +The procedure loads data from a JSON string. + +{

Input:

} + +- `json_str: string` ➡ JSON string that needs to be loaded. + +{

Output:

} + +- `objects: List[object]` ➡ A list of JSON objects from the string that is being loaded. + +{

Usage:

} + +Use the following query to load data from a JSON string: + +```cypher +CALL json_util.load_from_str(json_str) +YIELD objects +RETURN objects; +``` + ## Examples ### Load JSON from path @@ -230,4 +252,34 @@ Results: | James | Bond | +------------------+-------------------+ ``` - \ No newline at end of file + + +### Load JSON from string + + + +{

Input string

} + +The JSON string is `{"first_name": "James", "last_name": "Bond"}`. + +{

Import data

} + +Directly parse the JSON string: + +```cypher +CALL json_util.load_from_str('{"first_name": "James", "last_name": "Bond"}') +YIELD objects +UNWIND objects AS o +RETURN o.first_name AS name, o.last_name AS surname; +``` + +Results: + +```plaintext ++------------------+-------------------+ +| name | surname | ++------------------+-------------------+ +| James | Bond | ++------------------+-------------------+ +``` +