JAson icon indicating copy to clipboard operation
JAson copied to clipboard

can you add this functions

Open zeusion opened this issue 2 years ago • 2 comments

`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();`

zeusion avatar Jan 02 '23 15:01 zeusion

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 avatar Feb 14 '23 14:02 vivazzi

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

brenoperucchi avatar Jun 13 '23 15:06 brenoperucchi