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

can you add this functions #9

Open
zeusion opened this issue Jan 2, 2023 · 2 comments
Open

can you add this functions #9

zeusion opened this issue Jan 2, 2023 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed or PR

Comments

@zeusion
Copy link

zeusion commented Jan 2, 2023

`JAval j1;
j1.Add(1);

j1["a"] = 1;

j1["b"] = 2;`

`j1.Del("a"); or j1["a"].Del();

j1.Pop();

j1.shift();

j1.sort();

j1.rsort();`

@vivazzi
Copy link
Owner

vivazzi commented Feb 14, 2023

Now I do not support this library, because I work in other projects (python, js). May be PR or someone in forks will realize these functions. Sometimes I will check forks

@vivazzi vivazzi added enhancement New feature or request help wanted Extra attention is needed or PR labels Feb 14, 2023
@brenoperucchi
Copy link

brenoperucchi commented Jun 13, 2023

I just forked the project and create a method "ObjJaval.Remove()" Not testing at all but solving my issue with this LIB at the moment. Thanks for this contribution @vivazzi

CJAVal ObjJaval;
ObjJaval.add("A1")
ObjJaval["A1"]["b"] = 2

ObjJaval["A1"].Remove("b");
ObjJaval.Remove("A1");

https://github.com/brenoperucchi/JAson

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed or PR
Projects
None yet
Development

No branches or pull requests

3 participants