{"api_version":2,"name":"galaxy_jq_set_path","version":"1.0","role":"transform","type":"sdk","description":"Set a selected nested value.","icon":{"path":"M4 3h12l4 4v14H4zM8 11h8M8 15h8m-8 4h5"},"inputs":{"source":{"representations":["bytes"],"formats":[]}},"outputs":{"result":{"view":"bytes"}},"parameters":{"type":"object","properties":{"path":{"type":"string","default":"[\"a\",0]","description":"JSON array of object keys and array indices.","maxLength":256},"value":{"type":"string","default":"9","description":"Replacement JSON value.","maxLength":1024}},"additionalProperties":false,"required":[]},"documentation":{"inputs":{"source":"One JSONL bytes stream. Runs the fixed jq filter `setpath(($path|fromjson); ($value|fromjson))` on a JSON value stream (up to 1 MiB per input). Each emitted value is serialized on its own JSON Lines row."},"outputs":{"result":"JSONL bytes. Runs the fixed jq filter `setpath(($path|fromjson); ($value|fromjson))` on a JSON value stream (up to 1 MiB per input). Each emitted value is serialized on its own JSON Lines row."},"parameters":{"path":{"description":"JSON array of object keys and array indices.","help":"JSON array of object keys and array indices.","example":"[\"a\",0]"},"value":{"description":"Replacement JSON value.","help":"Replacement JSON value.","example":"9"}},"example_job":"name: Set a selected nested value.\nsteps:\n- id: read_source\n  operator: item_source@1.0\n  inputs: {}\n  params:\n    uri: context:/galaxy/jq_set_path-source.jsonl\n    view: bytes\n- id: process\n  operator: galaxy_jq_set_path@1.0\n  inputs:\n    source: read_source\n  params:\n    path: '[\"a\",0]'\n    value: '9'\n- id: client_sink\n  operator: client_sink@1.0\n  inputs:\n    result: process\n"},"execution":{"executor":"python","entrypoint":"galaxy_jq_set_path","config":{}},"source_public":true,"runtime":{"image":"sha256:1029aa198999f24f121cd6d03315cfbf13d9a7c733e306b3f76ee302c3c202bd","archive":{"sha256":"74b447d83bead58da95c361608c2325f123a3044f3740e3adfbff5ac06215440","size":74405680,"filename":"galaxy-jq-runtime.tar.gz"}},"provenance":{"source_archive":{"sha256":"c432e129ebcd012cd668b72fb21ff8a715b8f200a9fa0606a8e132432c8987f0","size":19312,"filename":"galaxy_jq_set_path-sources.zip"},"source_repository":"https://github.com/galaxyproject/tools-iuc","source_revision":"a9914e6c25a7aee16191a11c654ea25d72d0017c","license":"AFL-3.0 AND MIT","license_file":{"sha256":"06276304c423a835d843f55c62288aee7e5d6e474f301fe51a6e78481c39ca5b","size":1077,"filename":"GALAXY-LICENSE.txt"},"build_instructions":"Compile src/*.py with the python-arrow@2.0 builder. Execute with the registered galaxy-jq@1.0 runtime. See upstream-manifest.json and fixtures.json for evidence."},"artifact":{"sha256":"a6de431a872b7b0886bf1a8a75737fc49c4e9edc9741c12fc7d4da45972a4a17","size":8343,"filename":"operator.zip"},"categories":["Galaxy","JSON","Data transformation"],"trust":{"score":4,"assessed_by":"administrator","reviewed_at_ms":1795075764852},"publication":{"author":"dacp-examples","submitted_at_ms":1795075760475,"approved_at_ms":1795075764852,"last_submitted_at_ms":1795075760475,"last_approved_at_ms":1795075764852},"download_count":4}