Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By Mearmanv0.2.0In 1 marketplace
JSON file manipulation toolkit with query, transform, edit, validate, and format capabilities using TypeScript
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
json-toolsJSON file manipulation toolkit with query, transform, edit, validate, and format capabilities using TypeScript
Version: v0.1.0
Install: /plugin install json-tools@mearman
Provides comprehensive guidance on JSON file manipulation patterns, simple path query syntax, transformation strategies, validation approaches, and safe editing workflows.
Property access:
name - Direct propertyuser.name - Nested property (dot notation)config.server.host - Deep nestingArray access:
items[0] - First elementitems[1] - Second elementusers[5].name - Property of array elementWildcards:
users[*] - All array elementsusers[*].email - Property from all array elements*.id - All id properties at current leveldata.*.value - All value properties in data objectMixed notation:
users[0].orders[*].items[0].price
Price of first item in all orders of first user.
Wildcard mapping:
products[*].tags[*]
All tags from all products (flattened).
Nested wildcards:
categories[*].items[*].name
Names of all items in all categories.
For complex filtering logic, use TypeScript transform scripts instead:
Filtering by condition (NOT supported in paths):
// Use transform script instead of path queries
export default (data: any) => {
return data.users.filter(u => u.age > 18);
};
Recursive descent (NOT supported):
// NOT: $..email (find all emails anywhere)
// Instead: Use specific paths or transform scripts
Array slicing (NOT supported):
// NOT: items[0:5] (first 5 items)
// Instead: Use transform script with slice()
Remove inactive items:
export default (data: any) => {
data.items = data.items.filter((item: any) => item.active);
return data;
};
Filter by date:
export default (data: any) => {
const cutoff = new Date('2024-01-01');
data.records = data.records.filter((r: any) =>
new Date(r.date) >= cutoff
);
return data;
};
Transform structure:
export default (data: any) => ({
version: "2.0",
items: data.items.map((item: any) => ({
id: item.itemId,
name: item.itemName,
price: item.cost * 1.1, // Add 10% markup
}))
});
Normalize data:
export default (data: any) => {
data.users = data.users.map((user: any) => ({
...user,
email: user.email.toLowerCase(),
name: user.name.trim(),
}));
return data;
};
Add computed fields:
export default (data: any) => {
data.summary = {
totalItems: data.items.length,
totalValue: data.items.reduce((sum: number, item: any) =>
sum + item.price, 0
),
averagePrice: data.items.reduce((sum: number, item: any) =>
sum + item.price, 0) / data.items.length,
};
return data;
};
Group by category:
export default (data: any) => {
const grouped = data.items.reduce((acc: any, item: any) => {
const category = item.category || 'uncategorized';
if (!acc[category]) acc[category] = [];
acc[category].push(item);
return acc;
}, {});
return { categories: grouped };
};
Version upgrade:
export default (data: any) => {
// Migrate from v1 to v2 format
if (data.version === "1.0") {
return {
version: "2.0",
config: {
...data.settings,
newField: "default",
},
data: data.items,
};
}
return data;
};
Rename properties:
export default (data: any) => {
return {
...data,
items: data.items.map((item: any) => ({
id: item.itemId, // Rename itemId -> id
title: item.name, // Rename name -> title
cost: item.price, // Rename price -> cost
}))
};
};
Basic structure:
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"name": { "type": "string" },
"age": { "type": "number", "minimum": 0 }
},
"required": ["name"]
}
Array validation:
{
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": { "type": "string" },
"value": { "type": "number" }
},
"required": ["id", "value"]
},
"minItems": 1
}
}
}
npx claudepluginhub mearman/marketplace --plugin json-toolsBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground