Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Intersection of two json files #2127

Closed
AistisT opened this issue May 20, 2020 · 4 comments
Closed

Intersection of two json files #2127

AistisT opened this issue May 20, 2020 · 4 comments

Comments

@AistisT
Copy link

AistisT commented May 20, 2020

Just a quick question, rather than an issue I suppose. Is there anything inbuilt into the library that allows comparison of two json files to find out if there are overlapping properties in them.

I had a scan, but couldn't find anything, but its possible that I've missed something.

@nlohmann
Copy link
Owner

No, there is just a diff function (see https://nlohmann.github.io/json/classnlohmann_1_1basic__json_a9c4f3554773649beef69461a10a3de87.html#a9c4f3554773649beef69461a10a3de87) which is related. Maybe you can re-use some of the code.

@AistisT
Copy link
Author

AistisT commented May 20, 2020

cheers, I'll have a look

@nlohmann
Copy link
Owner

nlohmann commented Jun 3, 2020

Do you need further assistance?

@AistisT
Copy link
Author

AistisT commented Jun 3, 2020 via email

@nlohmann nlohmann closed this as completed Jun 3, 2020
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

No branches or pull requests

2 participants