JSON Processor Pack
★Trusted◇Sandbox optionalv1.0.0MIT✔Verified80by AgentNode · published 3 months ago · toolpack
Parse, transform, query, and validate JSON data structures.
JMESPath queries, schema validation, and structural transformations for JSON.
Quick Start
agentnode install json-processor-packRuns in a subprocess with filtered environment by default. Declared permissions are policy-checked, not sandboxed.
Usage
From packagefrom json_processor_pack.tool import run
api_response = {
"data": {
"users": [
{"id": 1, "name": "Alice Chen", "role": "admin", "active": True, "logins": 142},
{"id": 2, "name": "Bob Patel", "role": "editor", "active": True, "logins": 87},
{"id": 3, "name": "Carol Wu", "role": "admin", "active": False, "logins": 12},
{"id": 4, "name": "Dave Kim", "role": "viewer", "active": True, "logins": 234}
],
"total": 4,
"page": 1
}
}
# JMESPath query: get names of active admins
result = run(
action="process_json",
operation="query",
data=api_response,
jmespath="data.users[?role=='admin' && active].name"
)
print(f"Active admins: {result['result']}")
# Active admins: ['Alice Chen']
# Flatten the nested structure
flat = run(
action="process_json",
operation="flatten",
data=api_response,
separator="."
)
for key, value in flat["result"].items():
print(f" {key}: {value}")Runs locally on your machine. No execution data is sent to AgentNode. Permissions are checked before execution. Learn how this works
Verification
Package installs and imports correctly. runtime checks passed.
This package was executed and validated by AgentNode before listing. Install, import, and runtime checks passed.
Verified in real_auto mode
Last verified 1d ago· Runner v2.0.0
Use this when you need to...
- ›Query nested API responses using JMESPath expressions
- ›Validate webhook payloads against JSON Schema definitions
- ›Flatten deeply nested JSON into tabular row format
- ›Merge and diff two JSON configuration files
- ›Transform JSON data structures with field mapping and renaming
README
Version History
Capabilities
Permissions
Declared by the publisher. Checked before execution by the policy gate.
Permissions are policy-checked before execution. For trusted and curated packages that run on the host, network and filesystem access are policy-checked but not OS-sandboxed. When runtime isolation is required for untrusted/community code, AgentNode uses sandbox-or-fail-closed if the required container runtime and pinned image are available. Learn more
Privacy
All tool execution happens locally on your machine. AgentNode never receives:
- • Tool inputs or outputs
- • Execution logs
- • Data your agent processes
Only install events and search queries are sent to the registry.
agentnode install json-processor-packFiles (3)
License
MITStats
Compatibility
Frameworks
Runtime
pythonPython Version
>=3.10Trust & Security
Publisher
AgentNode
@agentnode