Skip to content

Fix direct embedding of json values within decoded data for GraphSON::V3. - #215

Open
voxelbee wants to merge 1 commit into
wolf4ood:masterfrom
voxelbee:master
Open

Fix direct embedding of json values within decoded data for GraphSON::V3.#215
voxelbee wants to merge 1 commit into
wolf4ood:masterfrom
voxelbee:master

Conversation

@voxelbee

@voxelbee voxelbee commented Aug 1, 2024

Copy link
Copy Markdown

I have added a test that shows the existing problem when a GraphSON object gets decoded it could have direct serde_json::Value objects within it. This will cause a decoding failure as the existing code only checks for Bool and String directly. I have added checks for Null, Number and Array and the decoding of them into their contained real values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant