This repository was archived by the owner on Jan 23, 2026. It is now read-only.
json_util: Add support for loading from a string - #530
Merged
Conversation
Extend the json_util query module to support loading from a passed in JSON string. This can be helpful in cases where a client wishes to e.g. create node properties dynamically from an existing JSON representation via client APIs.
|
mattkjames7
approved these changes
Dec 15, 2025
11 tasks
github-merge-queue Bot
pushed a commit
that referenced
this pull request
Dec 15, 2025
### Description Extended the json_util query module to support loading from a passed in JSON string. This can be helpful in cases where a client wishes to e.g. create node properties dynamically from an existing JSON representation via client APIs. ### Pull request type - [ ] Bugfix - [x] Algorithm/Module - [x] Feature - [ ] Code style update (formatting, renaming) - [ ] Refactoring (no functional changes, no api changes) - [ ] Build related changes - [ ] Documentation content changes - [ ] Other (please describe): ###################################### ### Reviewer checklist (the reviewer checks this part) #### Module/Algorithm - [ ] Core algorithm/module implementation - [ ] [Query module](https://memgraph.com/docs/memgraph/reference-guide/query-modules) implementation - [ ] Tests provided (unit / e2e) - [ ] Code documentation - [ ] README short description ### Documentation checklist - [ ] Add the documentation label tag - [ ] Add the bug / feature label tag - [ ] Add the milestone for which this feature is intended - If not known, set for a later milestone - [ ] Write a release note, including added/changed clauses - Added `load_from_str()` function to the `json_util` query module in order to allow loading JSON directly from a string. [#530](#530) - [ ] Link the documentation PR here - memgraph/documentation#1491 - [ ] Tag someone from docs team in the comments Co-authored-by: Dr Matt James <mattkjames7@gmail.com>
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Dec 15, 2025
mattkjames7
enabled auto-merge
December 15, 2025 17:20
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
Extended the json_util query module to support loading from a passed in JSON string. This can be helpful in cases where a client wishes to e.g. create node properties dynamically from an existing JSON representation via client APIs.
Pull request type
######################################
Reviewer checklist (the reviewer checks this part)
Module/Algorithm
Documentation checklist
load_from_str()function to thejson_utilquery module in order to allow loading JSON directly from a string. #530