b3d2a3a1d7e096b0f97a2a5295d4fa610336de04 angie Fri Oct 12 11:02:37 2018 -0700 Adding jsonQuery, which extracts values from a jsonElement tree using a simple path notation e.g. "journals[publisher=Nature].articles[*].author[0].lastName". aside: slFreeList doesn't check for NULL. I think it should, but it's used in a zillion places so for now I'll just check before calling. diff --git src/lib/tests/input/jsonQueryTestPath.txt src/lib/tests/input/jsonQueryTestPath.txt new file mode 100644 index 0000000..df2fa9a --- /dev/null +++ src/lib/tests/input/jsonQueryTestPath.txt @@ -0,0 +1,18 @@ + +not.found +name +id +[1] +[0].a +books[2] +books[*].someGuy +books[100] +books[0].isTrilogy +books[3].isTrilogy +books[number=1].title +books[title=LOTR:TT].double +books[double=2.0] +books[other=null].number +books[isTrilogy=true] +books[isTrilogy=false] +extra.extra[0]