{"id":20234507,"url":"https://github.com/adaxi/flat","last_synced_at":"2026-04-16T00:31:49.082Z","repository":{"id":57715076,"uuid":"59564572","full_name":"adaxi/Flat","owner":"adaxi","description":"Flatten JSON objects","archived":false,"fork":false,"pushed_at":"2016-06-08T09:24:09.000Z","size":107,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-14T00:34:48.285Z","etag":null,"topics":["java","json"],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/adaxi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-24T10:42:49.000Z","updated_at":"2024-12-09T19:54:21.000Z","dependencies_parsed_at":"2022-09-11T15:10:32.332Z","dependency_job_id":null,"html_url":"https://github.com/adaxi/Flat","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adaxi%2FFlat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adaxi%2FFlat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adaxi%2FFlat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adaxi%2FFlat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adaxi","download_url":"https://codeload.github.com/adaxi/Flat/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241678157,"owners_count":20001682,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","json"],"created_at":"2024-11-14T08:11:06.875Z","updated_at":"2025-10-25T19:17:46.001Z","avatar_url":"https://github.com/adaxi.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Flat\n====\n\n[![Build Status](https://travis-ci.org/adaxi/Flat.svg?branch=master)](https://travis-ci.org/adaxi/Flat) [![Codacy Badge](https://api.codacy.com/project/badge/Grade/6076ee95c7314c9d8ffab07e490c0555)](https://www.codacy.com/app/dev_25/Flat?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=adaxi/Flat\u0026amp;utm_campaign=Badge_Grade) [![Coverage Status](https://coveralls.io/repos/github/adaxi/Flat/badge.svg?branch=master)](https://coveralls.io/github/adaxi/Flat?branch=master) [![Coverage Status](https://maven-badges.herokuapp.com/maven-central/be.adaxisoft/Flat/badge.svg)](http://adaxi.github.io/Flat/dependency-info.html)\n\n\n\nThis library flattens JSON files.\n\nBefore:\n\n```json\n{\n\t\"key1\": {\n\t\t\"keyA\": \"valueI\"\n\t},\n\t\"key2\": {\n\t\t\"keyB\": \"valueII\"\n\t},\n\t\"key3\": { \"a\": { \"b\": { \"c\": 2 } } }\n}\n```\n\nAfter:\n\n```json\n{\n   \"key1.keyA\": \"valueI\",\n   \"key2.keyB\": \"valueII\",\n   \"key3.a.b.c\": 2\n}\n```\n\nThe library can do the reverse operation as well: unflatten.\n\n\nUse the library\n---------------\n\nThe [documentation page](http://adaxi.github.io/Flat/dependency-info.html) lists how you can add this library\nas a dependency of your project.\n\nCredit\n------\n\nBased on the work of [Jeffrey Blattman](https://zerocredibility.wordpress.com/tag/flatten/).\nCreated to be compatible with [NPM flat](https://www.npmjs.com/package/flat).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadaxi%2Fflat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadaxi%2Fflat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadaxi%2Fflat/lists"}