#9

JSON User Name Extraction

EASYData FilteringPYTHON

Problem Description

A data ingestion pipeline receives API responses as JSON strings containing user records and must filter and project specific fields before writing to a downstream store. Given a JSON string containing an array of user objects (each with `name`, `age`, `status`, `country` properties), return a list of names of users where `status` is `"active"` AND `age` is at least `min_age`. **Input:** `json_string` — a JSON-encoded array of user objects; `min_age` — an integer minimum age. **Output:** A list of name strings for users matching both filter criteria.

Topics

dictionary

Asked at Companies

oracle

Solve This Problem

Sign up to access the interactive code editor, run test cases, view the editorial, and get AI-powered feedback on your solution.

Start Solving →