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

Hopefully, can add collection operations #3

Open
vampireslove opened this issue Mar 8, 2023 · 1 comment
Open

Hopefully, can add collection operations #3

vampireslove opened this issue Mar 8, 2023 · 1 comment
Assignees

Comments

@vampireslove
Copy link
Contributor

json data:
{
"strs": [
{
"s1": "a",
"s2": "b"
},
{
"s1": "a",
"s2": "c"
},
{
"s1": "c",
"s2": "b"
}
]
}
1.contains mathc an object
json data Can match {"s1":"a","s2":"b"}

  1. contains mathc multiple objects
    json data Can match [{"s1":"a","s2":"b"},{"s1":"a","s2":"c"}]

3.memberOf
strs of json data is memberOf [{"s1":"a","s2":"b"},{"s1":"a","s2":"c"},{"s1":"c","s2":"b"},{"s1":"c","s2":"d"}]
4.memberOf

strs of json data equal [{"s1":"a","s2":"b"},{"s1":"a","s2":"c"},{"s1":"c","s2":"b"},{"s1":"c","s2":"d"}]

@thiagolvlsantos thiagolvlsantos self-assigned this Mar 10, 2023
@thiagolvlsantos thiagolvlsantos added this to the Release: 0.0.8 milestone Mar 10, 2023
@thiagolvlsantos
Copy link
Owner

Issue #2 implementation changed to allow subsets on "attribute" name.

Next move, write some tests to check if this new impl already accept these cases.

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