{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/10"}],"enrichment":{"capability":"Recursively flattens nested JSON-like structures (dicts and iterables) into a sequence of flat dictionaries with dot-joined keys, handling multiple lists through configurable combination strategies.","skillfed_tags":["json-processing","data-transformation"],"use_cases":["Convert API responses with nested objects and arrays into flat rows suitable for CSV export or database insertion","Flatten configuration files or metadata structures to extract all leaf values with their full paths","Denormalize time-series data where measurements contain nested sensor readings and metadata","Transform hierarchical log entries or event objects into tabular format for analysis","Prepare nested JSON for pandas DataFrame construction by generating flat dict records"],"what_it_does":"json_normalize takes a nested JSON-like structure\u2014dicts, lists, generators, and other iterables\u2014and flattens it into a sequence of flat dictionaries. Each key in the output is a dot-joined path from the root to a leaf value. The package handles the tricky case of data association: when nested dicts share a common dict ancestor, their data flows together into the same output records; when they share a list ancestor, they remain separate. When multiple independent lists exist in different branches, you can choose how to combine them: chain them sequentially, compute their Cartesian product, or drop problematic branches entirely.\n\nThe function is configurable: you can customize the path joiner (dot, arrow, or a callable), freeze certain nodes to prevent recursive normalization below them, drop nodes by name, and control list combination behavior. It accepts generators and lazy iterables as input, making it useful for streaming or memory-constrained scenarios.","worth_installing":"Yes, if you need to flatten nested JSON into flat dicts. The package is stable, dependency-free, and permissively licensed. Dormant maintenance is acceptable for a focused utility with no known vulnerabilities, but verify it handles your specific nesting patterns (especially multiple list branches) before committing to production use."},"id":"json-normalize","links":{"html":"https://skillfed.io/packages/json-normalize","md":"https://skillfed.io/packages/json-normalize.md","pypi":"https://pypi.org/project/json-normalize/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-03-28","license_spdx":null,"license_treatment":"permissive","name":"json-normalize","python_support":"unspecified","summary":"Recursively flattens a JSON-like structure into a list of flat dicts."},"popularity":{"monthly_downloads":80227,"position":14305,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.1.0"}
