Saravanan666/pypi-org huggingface dataset:
Package: jsonomy
Copy codeJsonomyJsonomy is a basic JSON parser that converts API's JSON output to be more Pythonic. It includes functionalities like converting camel case to snake case, and timestamps to datetime objects.FeaturesConvert JSON keys from camel case to snake case.Identify strings that represent dates and convert them to datetime objects.Recursively process JSON data structures.InstallationTo install Jsonomy, you can use pip:pipinstalljsonomyUsagefromjsonomyimportJsonomydata={"createdAt":"2022-07-01T10:00:00Z","someNestedData":{"moreDetails":"data"},"aList":["item1","item2"]}# load data into Jsonomy and processformatter=Jsonomy(data)processed=formatter.format()# print the processed dataformatter.pprint()# reload new dataformatter.load(data)#load and formatJsonomy(data).format()#load and pretty print to a stringpretty_json=Jsonomy(data).pprint(as_str=True)LicenseThis project is licensed under the terms of the MIT license.ContactFor questions, feel free to reach out to Lewis Morris atlewis.morris@gmail.com
Package: json-operator
json-operator is a tool which provides operations on JSON data.If a JSON object is regarded as a data set (key-value pair), we can apply set operations on it. An example is to find out all the common attributes in two JSON objects.
Another example is to check if two JSON objects are equal or not.Currently json-operator supports 4 operations: equal, intersection, union, subtract.Installation$ pip install json-operatorEmbedded examplesjson-operator can be embedded into your program as a library.import json_operator as jo
import json

# construct JSON objects
obj1 = json.loads('{"a": 1, "b":2}')
obj2 = json.loads('{"a": 1, "c":"3"}')

# equal operation
res = jo.equal(obj1, obj2)           # False

# intersection
res = jo.intersection(obj1, obj2)    # {"a":1}

# union
res = jo.union(obj1, obj2)           # {"a":1, "b":2, "c":"3"}

# subtract
res = jo.subtract(obj1, obj2)        # {"b":2}

res = jo.subtract(obj2, obj1)        # {"c":"3"}Standalone usage$ json-operator --help

usage: json-operator [--lt LT] [--rt RT] [--lf LF] [--rf RF] [--out OUT] [--help] [operator]

command utility to operate on JSON objects. Supported operators: equal, intersection, subtract, union.

positional arguments:
  operator   action command

optional arguments:
  --lt LT    left-side JSON text. Overwrite --lf option
  --rt RT    right-side JSON text. Overwrite --rf option
  --lf LF    left-side file where JSON is stored
  --rf RF    right-side file where JSON is stored
  --out OUT  output file. Default is stdout
  --help     print this help message
Package: jsonp
Simple pipeline json parserIt is as jq but better because you can use python syntax and you do not need to look in documentation every time.Installpip install jsonpUsagePretty printecho '{"userId":1,"id":1,"title":"delectus aut autem","completed":false}' | j
{
    "completed": false,
    "id": 1,
    "title": "delectus aut autem",
    "userId": 1
}Modify data as you want until returned data is correct json objectecho '{"userId":1,"id":1,"title":"delectus aut autem","completed":false}' | j '{str(v):k for k, v in it.items()}'
{
    "1": "id",
    "False": "completed",
    "delectus aut autem": "title"
}
Package: jsonp2
Jsonp to json (jsonp格式转换json格式)Similar to the JSON library, it is used to convert the JSON format into JSON format.
它与json库类似，作用是将jsonp格式转换为json格式。Installpip install jsonp2Example1jsonp:jQuery1122012033111883315373_1662703989030({"a":1,"b":2})
jsonp to json:{"a":1,"b":2}Example2jsonp:jsonCallback1122012033111883315373_1662703989030({"a":1,"b":2})
jsonp to json:{"a":1,"b":2}Example2jsonp:jsonp1122012033111883315373_1662703989030({"a":1,"b":2})
jsonp to json:{"a":1,"b":2}
Package: jsonpack
jsonpackThis library allows you to create packs using JSON files to configure your Python Application.Installpip install jsonpackFeaturesSupports JSON, YAML, ZIP and most image formatsIncludes the loading of Python files from packs to easily expand your app's featuresEasily reload all packs without having to restart your application.JSON and YAML validation to make sure your file is properly configured.See the docs for more information.Optional DependenciesNameRequiredDescriptionPillowNoFor image/* mimetypesPyYAMLNoFor application/yaml mimetypeopencv-pythonNoFor video/* mimetypepygameNoFor audio/* mimetype
Package: json-paginator
json-paginatorA generator for iterating over paginated JSON API responsesInstallationpip install json-paginatorUsageInstantiateJsonApiPaginatorwith:A URL to page 1 of the API outputA function (or lambda)get_nextpage(url, body)which describes how to get the next page. ReturnNoneto stop iteration.Example:fromjson_paginatorimportJsonApiPaginatorBASE='https://galaxy.ansible.com'defget_next_page(url,body):ifbody['next_link']:returnBASE+body['next_link']returnNone# instantiate the paginatorpages=JsonApiPaginator(BASE+'/api/v1/categories/?page=1',get_next_page)# iterate over the pagesforurl,bodyinpages:print("calling%s"%(url))print("found%sresults"%(len(body['results'])))
Package: json-parser
json_parserAnefficientJSON parser written in Python.InstallationInstall it via pip:pipinstalljson-parserUsageimportjson_parserdata=json_parser.parse('{"value": 42}')print(data['value'])# 42BenchmarksRunning it onthis 25MB JSON filegave the following results:>>>withopen('large-file.json')asf:...t=time.time()...x=json.load(f)...t=time.time()-t...print(t,'seconds')...0.6405608654022217 seconds>>>withopen('large-file.json')asf:...t=time.time()...y=json_parser.parse(f.read())...t=time.time()-t...print(t,'seconds')...22.286625385284424 seconds>>>x==yTrueSo, it's about 34x slower than the builtinjson.
Which, is par for the course when it comes to pure python.TestingClone the app and run the following:pipinstall-e'.[dev]'pytest
Package: json-part
json-partjson-partis a lightweight Python library designed to parse and
repair incomplete JSON strings. This library is particularly useful
for handling streaming JSON data, such as the responses from
OpenAI's Large Language Models (LLMs). By enabling the processing
of partial JSON responses,json-partenhances the user experience
by providing immediate, incremental results.Currently, there is no standard for loading such data,
and the project has made many assumptions which, in my opinion,
were correct. A fully generic, flexible solution was not prepared.
The library code is simple and clear -- requests for contributions,
or ideas submitted as an Issue, will be met with
all efforts to create the best possible solution.FeaturesParse Incomplete JSON:Effortlessly convert partial JSON
strings into usable Python dictionaries.Fix Incomplete JSON:Automatically repair and close
open JSON structures to prevent parsing errors.Stream-Friendly:Ideal for applications that consume
streaming JSON data, improving responsiveness and user interaction.InstallationTo get started withjson-part, simply install the package using pip:pipinstalljson-partUsageThejson-partlibrary is straightforward to use, with functions
to parse and fix incomplete JSON strings. Here's a quick
example to demonstrate its capabilities:fromjson_partimportparse_incomplete_json,fix_incomplete_jsonif__name__=='__main__':# Example of an incomplete JSON stringSAMPLE_1="""{"status": "o"""# {"status": "o# Parse the incomplete JSON to a Python dictionaryprint(parse_incomplete_json(SAMPLE_1))# Output: {'status': 'o'}# Fix the incomplete JSON stringprint(fix_incomplete_json(SAMPLE_1))# Output: {"status": "o"}# Another example with a slightly more complex incomplete JSON stringSAMPLE_2="""{"status": "o", "mess"""# {"status": "o", "mess# Parse and fix operations can handle more complex structuresprint(parse_incomplete_json(SAMPLE_2))# Output: {'status': 'o'}print(fix_incomplete_json(SAMPLE_2))# Output: {"status": "o"}ContributingContributions tojson-partare welcome!
Whether it's reporting a bug, discussing improvements,
or submitting a pull request, all contributions
help makejson-partbetter for everyone.Licensejson-partis released under the MIT License.
See the LICENSE file for more details.
Package: jsonpatch
[![PyPI version](https://img.shields.io/pypi/v/jsonpatch.svg)](https://pypi.python.org/pypi/jsonpatch/)
[![Supported Python versions](https://img.shields.io/pypi/pyversions/jsonpatch.svg)](https://pypi.python.org/pypi/jsonpatch/)
[![Build Status](https://travis-ci.org/stefankoegl/python-json-patch.png?branch=master)](https://travis-ci.org/stefankoegl/python-json-patch)
[![Coverage Status](https://coveralls.io/repos/stefankoegl/python-json-patch/badge.png?branch=master)](https://coveralls.io/r/stefankoegl/python-json-patch?branch=master)Applying JSON Patches in PythonLibrary to apply JSON Patches according to
[RFC 6902](http://tools.ietf.org/html/rfc6902)See source code for examplesWebsite:https://github.com/stefankoegl/python-json-patchRepository:https://github.com/stefankoegl/python-json-patch.gitDocumentation:https://python-json-patch.readthedocs.org/PyPI:https://pypi.python.org/pypi/jsonpatchTravis CI:https://travis-ci.org/stefankoegl/python-json-patchCoveralls:https://coveralls.io/r/stefankoegl/python-json-patchRunning external testsTo run external tests (such as those fromhttps://github.com/json-patch/json-patch-tests) use ext_test.py./ext_tests.py ../json-patch-tests/tests.json
Package: json_patch
JSON PatchImplementation of json-patch draft 04:http://tools.ietf.org/html/draft-pbryan-json-patch-04Installation$ pip install json_patchUsageJSON patch makes it possible to patch arbitrary json objects>>> from json_patch import Patch
>>> patch = Patch([
        {
            'op': 'add'
            'path': '/c',
            'value': 'f'
        },
        {
            'op': 'remove':
            'path': '/a'
        },
        {
            'op': 'replace'
            'path': '/b',
            'value': 'g'
        }
    ])
 >>> data = {'a': 'd', 'b': 'e'}
 >>> print patch.apply(data)
    {'b': 'g', 'c': 'f'}
Package: jsonpatch2pymongo
jsonpatch2pymongoIntroductionThis is a port ofjsonpatch to mongodbandjsonpatch to mongodb - golanginto python language.Anyone who want to apply differences between 2 JSON data into mongodb using pymongo's update_many() function will be beneficial from this.How to useFirst, you need to get patch list generated byjsonpatchpackage.>>>src={'foo':'bar','numbers':[1,3,4,8]}>>>dst={'baz':'qux','numbers':[1,4,7]}>>>patch=jsonpatch.JsonPatch.from_diff(src,dst)# or equivalently>>>patch=jsonpatch.make_patch(src,dst)>>>patch.patch[{'op':'remove','path':'/foo'},{'op':'add','path':'/baz','value':'qux'},{'op':'remove','path':'/numbers/1'},{'op':'add','path':'/numbers/2','value':7},{'op':'remove','path':'/numbers/3'}]Once patch(list of each patch) is available, you can pass it to this function>>>update=jsonpatch2pymongo(patch.patch)>>>update{'$set':{'baz':'qux'},'$unset':{'foo':1,'numbers.1':1,'numbers.3':1},'$push':{'numbers':{'$each':[7],'$position':2}}}And finally, you can passupdateinto pymongo's update or update_many functiondb.collection.update_many(filter,update)TestcasesInstall pytest package and runpython -m pytest -vunder root directory.Then pytest will automatically run test_main.py which includes various test cases ported from the original javascript test cases.Code styleblack -l 100Setup pre-commit hookPlugins specified in.pre-commit-config.ymlwill be used before you commit changes.How to enable pre-commit hookpipinstallpre-commit
pre-commitinstall
Package: jsonpatchext
python-json-patch-extApplying JSON Patches in PythonThis module extends the Pythonjsonpatchmodule to
add 'check', 'mutate' and 'merge' operations.See source code for examplesWebsite:https://github.com/RangelReale/python-json-patch-extRepository:https://github.com/RangelReale/python-json-patch-ext.gitDocumentation:https://python-json-patch-ext.readthedocs.org/PyPI:https://pypi.python.org/pypi/jsonpatchextExamplefromjsonpatchextimportJsonPatchExt,JsonPatchTestFaileddefStartsWithComparator(current,compare):ifnotcurrent.startswith(compare):msg='{0}({1}) does not starts with{2}({3})'raiseJsonPatchTestFailed(msg.format(current,type(current),compare,type(compare)))defRemoveLastMutator(current,value):returncurrent[:-1]patch=JsonPatchExt([{'op':'add','path':'/foo','value':{'bar':'bar'}},{'op':'check','path':'/foo/bar','value':'bar','cmp':'equals'},{'op':'merge','path':'/foo','value':{'newbar':'newbarvalue'}},{'op':'check','path':'/foo/newbar','value':'newb','cmp':'custom','comparator':StartsWithComparator},{'op':'mutate','path':'/foo/newbar','mut':'uppercase'},{'op':'mutate','path':'/foo/newbar','mut':'custom','mutator':RemoveLastMutator},])doc={}result=patch.apply(doc)print(result)checkpatch=JsonPatchExt([{'op':'check','path':'/foo/bar','value':'bar','cmp':'equals'},{'op':'check','path':'/foo/newbar','value':'NEWB','cmp':'custom','comparator':StartsWithComparator},])result=checkpatch.check(result)print(result)Output:{'foo': {'bar': 'bar', 'newbar': 'NEWBARVALU'}}
TrueAuthorRangel Reale (rangelspam@gmail.com)
Package: jsonpath
A port of the Perl, and JavaScript versions of JSONPath
seehttp://goessner.net/articles/JsonPath/Based on on JavaScript version by Stefan Goessner at:https://goessner.net/articles/JsonPath/http://code.google.com/p/jsonpath/and Perl version by Kay Rhodes at:http://github.com/masukomi/jsonpath-perl/Python3 compatibily by Per J. Sandstrom
Package: jsonpath2
jsonpath2This repository contains an implementation ofJSONPath(XPathforJSON) for the Python programming
language.DocumentationFor installation, configuration and usage documentation please
refer to theRead the Docsdocumentation.Installationdocumentation.Examplesdocumentation.ContributionsContributions are accepted on GitHub via the fork and pull request workflow.
GitHub has a goodhelp articleif you are unfamiliar with this method of contributing.
Package: jsonpath-cli
Thejsonpath_cliPackage.Thejsonpath_cliis an extension tojsonpath_tpimplementation built on
top oftreepathtechnology.Quick Start Command Line InterfaceTo use the cli install the jsonpath_cli python package in a venv:python -m venv venv
source bin venv/bin/activate
pip install jsonpath_cliA jsonpath example that gets  c's value from json data.
jsonpath "$.star.planets.inner[?(@.name=='Earth')].name" tests/data/solar-system.json"Earth"Solar System Json DocumentThe examples shown in this README use the following json document.  It describes our solar system. Click to expand.solar_system = {...}{"star":{"name":"Sun","diameter":1391016,"age":null,"planets":{"inner":[{"name":"Mercury","Number of Moons":"0","diameter":4879,"has-moons":false},{"name":"Venus","Number of Moons":"0","diameter":12104,"has-moons":false},{"name":"Earth","Number of Moons":"1","diameter":12756,"has-moons":true},{"name":"Mars","Number of Moons":"2","diameter":6792,"has-moons":true}],"outer":[{"name":"Jupiter","Number of Moons":"79","diameter":142984,"has-moons":true},{"name":"Saturn","Number of Moons":"82","diameter":120536,"has-moons":true},{"name":"Uranus","Number of Moons":"27","diameter":51118,"has-moons":true},{"name":"Neptune","Number of Moons":"14","diameter":49528,"has-moons":true}]}}}
Package: jsonpath-extractor
A selector expression for extracting data from JSON.QuickstartsInstallationInstall the stable version from PYPI.pipinstalljsonpath-extractorOr install the latest version from Github.pipinstallgit+https://github.com/linw1995/jsonpath.git@masterUsage{"goods":[{"price":100,"category":"Comic book"},{"price":200,"category":"magazine"},{"price":200,"no category":""}],"targetCategory":"book"}How to parse and extract all the comic book data from the above JSON file.importjsonfromjsonpathimportparsewithopen("example.json","r")asf:data=json.load(f)assertparse("$.goods[contains(@.category, $.targetCategory)]").find(data)==[{"price":100,"category":"Comic book"}]Or use thejsonpath.coremodule to extract it.fromjsonpath.coreimportRoot,Contains,SelfassertRoot().Name("goods").Predicate(Contains(Self().Name("category"),Root().Name("targetCategory"))).find(data)==[{"price":100,"category":"Comic book"}]Usage via CLIThe faster way to extract by using CLI.jp-fexample.json"$.goods[contains(@.category,$.targetCategory)]"Or pass content by pipeline.catexample.json|jp"$.goods[contains(@.category,$.targetCategory)]"The output of the above commands.[{"price":100,"category":"Comic book"}]Changelogv0.9.0BuildRemove support for Python 3.7ContributingEnvironment SetupClone the source codes from Github.gitclonehttps://github.com/linw1995/jsonpath.gitcdjsonpathSetup the development environment.
Please make sure you install thepdm,pre-commitandnoxCLIs in your environment.makeinitmakePYTHON=3.8init# for specific python versionLintingUsepre-commitfor installing linters to ensure a good code style.makepre-commitRun linters. Some linters run via CLInox, so make sure you install it.makecheck-allTestingRun quick tests.makeRun quick tests with verbose.makevtestRun tests with coverage.
Testing in multiple Python environments is powered by CLInox.makecovDocumentationRun serving documents with live-reloading.makeserve-docs
Package: jsonpathgenerator
JSONPathGeneratorPython project to generate Json path in notations dot or bracket.funtion to convert a nested json to nested dictionary enumerating the lists to child dictionariesINSTALLATIONpip install jsonpathgeneratorUSAGEfrom jsonpathgenerator import jsonpathjs = jsonpath()js.get_json_path(json-line,notation='dot')notation = "dot"notation = "bracket"Usage Examplesjs = jsonpath()

with open('sample_json.json','r') as file:
    json_line=json.load(file)
    json_path_list=js.get_json_path(json_line,notation="bracket")
    print(json_path_list)
Package: jsonpath-kv
jsonpath-kvpip install jsonpath-kv
from jsonpath_kv import jsonvalue正常的dictuser_dict = {
    "sites":
        [
            { "name":"runoob" , "url":"www.runoob.com" },
            { "name":"google" , "url":"www.google.com" },
            { "name":"weibo" , "url":"www.weibo.com" }
        ]
}
r = jsonvalue.get(user_dict,'url')
print(r)
output: ['www.runoob.com', 'www.google.com', 'www.weibo.com']json字符串user_json = '{ "sites": [ { "name":"runoob" , "url":"www.runoob.com" }, { "name":"google" , "url":"www.google.com" }, { "name":"weibo" , "url":"www.weibo.com" } ] }'
r = jsonvalue.get(user_dict,'url')
print(r)
output: ['runoob', 'google', 'weibo']当所取key在字符串包裹里时user_json = { "sites": '[ { "name":"runoob" , "url":"www.runoob.com" }, { "name":"google" , "url":"www.google.com" }, { "name":"weibo" , "url":"www.weibo.com" } ]'}
r = jsonvalue.get(user_dict,'url')
print(r)
output: ['runoob', 'google', 'weibo']当所取key在字符串包裹里时user_dict = {"sites": "{ \"name\":\"google\" , \"url\":\"www.google.com\" }"}
r = jsonvalue.get(user_dict,'name')
print(r)
output: ['google']key不存在时返回falseuser_dict = {"sites": "{ \"name\":\"google\" , \"url\":\"www.google.com\" }"}
r = jsonvalue.get(user_dict, 'address')
print(r)
output: False
Package: jsonpath-rust-bindings
jsonpath-rust-bindingsThis package contains Python bindings forjsonpath-rustlibrary bybesok.The details regarding the JsonPath itself can be foundhere.Installationpipinstalljsonpath-rust-bindingsUsagefromjsonpath_rust_bindingsimportFindersample={"store":{"book":[{"category":"reference","author":"Nigel Rees","title":"Sayings of the Century","price":8.95,},{"category":"fiction","author":"Evelyn Waugh","title":"Sword of Honour","price":12.99,},{"category":"fiction","author":"Herman Melville","title":"Moby Dick","isbn":"0-553-21311-3","price":8.99,},{"category":"fiction","author":"J. R. R. Tolkien","title":"The Lord of the Rings","isbn":"0-395-19395-8","price":22.99,},],"bicycle":{"color":"red","price":19.95},},"expensive":10,}queries=['$.store.book[*].author','$..book[?(@.isbn)]','$.store.*','$..author','$.store..price','$..book[2]',# '$..book[-2]','$..book[0,1]','$..book[:2]','$..book[1:2]','$..book[-2:]','$..book[2:]','$.store.book[?(@.price<10)]','$..book[?(@.price<=$.expensive)]',"$..book[?(@.author ~= '.*Rees')].price",'$..*',]f=Finder(sample)forqueryinqueries:print(query,f.find(query),'\n')# You will see a bunch of found items like# $..book[?(@.author ~= '.*Rees')].price [JsonPathResult(data=8.95, path=Some("$.['store'].['book'][0].['price']"), is_new_value=False)]JsonPathResulthas the following attributes:data: the found valuepath: the path to the found valueis_new_value: whether the value is a new value or a copy of the original valueJsonPathResultcan't be constructed from Python; it is only returned byFinder.find().CaveatsThe current implementation is cloning the originalPyObjectdata when converting it to the serdeValue.
It happens each time you're creating a newFinderinstance. Try to reuse the sameFinderinstance for querying if it's possible.Also, It has yet another consequence demonstrated in the following example:>>>original_object_i_want_to_mutate={'a':{'b':'sample b'}}>>>fromjsonpath_rust_bindingsimportFinder>>>f=Finder(original_object_i_want_to_mutate)>>>b_dict=f.find('$.a')[0].data>>>b_dict{'b':'sample b'}>>>b_dict['new']=42>>>original_object_i_want_to_mutate{'a':{'b':'sample b'}}
Package: jsonpath-rw-ext
Extensions for JSONPath RWjsonpath-rw-ext extends json-path-rw capabilities by adding multiple extensions.
‘len’ that allows one to get the length of a list. ‘sorted’ that returns a sorted version
of a list, ‘arithmetic’ that permits one to make math operation between elements and
‘filter’ to select only certain elements of a list.Each extensions will be proposedupstreamand will stay here only if they are refused.Free software: Apache licenseDocumentation:https://python-jsonpath-rw-ext.readthedocs.org/en/latest/Source:http://github.com/sileht/python-jsonpath-rw-extQuick StartAt the command line:$ pip install jsonpath-rw-extOr, if you have virtualenvwrapper installed:$ mkvirtualenv jsonpath-rw-ext
$ pip install jsonpath-rw-extTo replace the jsonpath_rw parser by this one with:import jsonpath_rw_ext
jsonpath_rw_ext.parse("$.foo").find(...)Or:from jsonpath_rw_ext import parser
parser.ExtentedJsonPathParser().parse("$.foo").find(...)Shortcut functions for getting only the matched values:import jsonpath_rw_ext as jp
print jp.match('$.cow[*]', {'cow': ['foo', 'bar'], 'fish': 'foobar'})
# prints ['foo', 'bar']

print jp.match1('$.cow[*]', {'cow': ['foo', 'bar'], 'fish': 'foobar'})
# prints 'foo'The jsonpath classes are not part of the public API, because the name/structure
can change when they will be implemented upstream. Only the syntaxshouldn’tchange.ExtensionsnameExamplelen$.objects.`len`sub$.field.`sub(/foo\\+(.*)/, \\1)`split$.field.`split(+, 2, -1)`$.field.`split(sep, segement, maxsplit)`sorted$.objects.`sorted`$.objects[\some_field]$.objects[\some_field,/other_field]filter$.objects[?(@some_field > 5)]$.objects[?(some_field = “foobar”)]$.objects[?(some_field ~ “regexp”)]$.objects[?(some_field > 5 & other < 2)]arithmetic
(-+*/)$.foo + “_” + $.bar$.foo * 12$.objects[*].cow + $.objects[*].catAbout arithmetic and stringOperations are done with python operators and allows types that python
allows, and return [] if the operation can be done due to incompatible types.When operators are used, a jsonpath must be be fully defined otherwise
jsonpath-rw-ext can’t known if the expression is a string or a jsonpath field,
in this case it will choice string as type.Example with data:{
    'cow': 'foo',
    'fish': 'bar'
}cow + fishreturnscowfish$.cow + $.fishreturnsfoobar$.cow + “_” + $.fishreturnsfoo_bar$.cow + “_” + fishreturnsfoo_fishAbout arithmetic and listArithmetic can be used against two lists if they have the same size.Example with data:{'objects': [
    {'cow': 2, 'cat': 3},
    {'cow': 4, 'cat': 6}
]}$.objects[*].cow + $.objects[*].catreturns[6, 9]