Allows users to extract specific keys and their values from a JSON object.
Example:
Json:
{
"company": {
"name": "Tech Innovations Ltd.",
"location": {
"address": "123 Innovation Drive",
"city": "Techville",
"state": "CA",
"zip": "94000"
},
"departments": [
{
"name": "Research and Development",
"employees": [
{
"id": "RD001",
"name": "Alice Johnson",
"position": "Lead Scientist",
"email": "
[email protected]",
"skills": ["AI", "Machine Learning", "Data Science"]
},
{
"id": "RD002",
"name": "Bob Smith",
"position": "Research Scientist",
"email": "
[email protected]",
"skills": ["Robotics", "Automation", "Mechanical Engineering"]
}
]
},
{
"name": "Marketing",
"employees": [
{
"id": "MKT001",
"name": "Catherine Lee",
"position": "Marketing Manager",
"email": "
[email protected]",
"skills": ["SEO", "Content Marketing", "Social Media"]
},
{
"id": "MKT002",
"name": "David Kim",
"position": "Marketing Specialist",
"email": "
[email protected]",
"skills": ["Advertising", "Brand Management", "Public Relations"]
}
]
}
]
},
"products": [
{
"id": "P001",
"name": "Smart Home Hub",
"category": "Home Automation",
"price": 199.99,
"features": ["Voice Control", "Remote Access", "Energy Monitoring"]
},
{
"id": "P002",
"name": "AI Personal Assistant",
"category": "Artificial Intelligence",
"price": 299.99,
"features": ["Natural Language Processing", "Machine Learning", "Personalized Recommendations"]
}
],
"services": [
{
"id": "S001",
"name": "Custom Software Development",
"description": "Tailored software solutions to meet your business needs.",
"rate": 150,
"currency": "USD"
},
{
"id": "S002",
"name": "IT Consulting",
"description": "Expert advice to optimize your IT infrastructure.",
"rate": 200,
"currency": "USD"
}
]
}
Key(s): name
Resulte:
{"name":"Tech Innovations Ltd."}
{"name":"Research and Development"}
{"name":"Alice Johnson"}
{"name":"Bob Smith"}
{"name":"Marketing"}
{"name":"Catherine Lee"}
{"name":"David Kim"}
{"name":"Smart Home Hub"}
{"name":"AI Personal Assistant"}
{"name":"Custom Software Development"}
{"name":"IT Consulting"}