{"id":15297576,"url":"https://github.com/indianghost/dump-helper","last_synced_at":"2026-04-29T16:35:22.572Z","repository":{"id":57733518,"uuid":"474548418","full_name":"IndianGhost/dump-helper","owner":"IndianGhost","description":"It's a simple class that can be used in log files to dump objects with all properties","archived":false,"fork":false,"pushed_at":"2022-04-17T10:42:01.000Z","size":19,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-29T22:59:13.890Z","etag":null,"topics":["achraf-bellaali","dump","dumper","dumping","helper","helpers","helpers-library","indianghost","java","java-8","java8","json","json-dump","json-java","json-java-bean","logging","logs","logs-analysis","maven"],"latest_commit_sha":null,"homepage":"","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/IndianGhost.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":"2022-03-27T05:55:42.000Z","updated_at":"2024-05-16T14:41:58.000Z","dependencies_parsed_at":"2022-09-21T16:24:01.472Z","dependency_job_id":null,"html_url":"https://github.com/IndianGhost/dump-helper","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/IndianGhost/dump-helper","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IndianGhost%2Fdump-helper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IndianGhost%2Fdump-helper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IndianGhost%2Fdump-helper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IndianGhost%2Fdump-helper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IndianGhost","download_url":"https://codeload.github.com/IndianGhost/dump-helper/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IndianGhost%2Fdump-helper/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274374791,"owners_count":25273824,"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","status":"online","status_checked_at":"2025-09-09T02:00:10.223Z","response_time":80,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["achraf-bellaali","dump","dumper","dumping","helper","helpers","helpers-library","indianghost","java","java-8","java8","json","json-dump","json-java","json-java-bean","logging","logs","logs-analysis","maven"],"created_at":"2024-09-30T19:18:21.359Z","updated_at":"2026-04-29T16:35:22.526Z","avatar_url":"https://github.com/IndianGhost.png","language":"Java","funding_links":["https://www.paypal.me/achrafbellaali"],"categories":[],"sub_categories":[],"readme":"# indianghost-dumphelper (v1.0.0) ![version1.0.0](https://img.shields.io/badge/version-1.0.0-green.svg) [![MIT](https://img.shields.io/badge/license-MIT-green)](https://github.com/IndianGhost/dump-helper/blob/main/LICENSE)\n## Description\n**indianghost-dumphelper** is a lightweight package providing a dump helper that can print an object in json format or structured text.\nIt is hightly recommended to use it in log files when it's not possible to debug objects in localhost.\n\n## Requirements\n- JDK 1.8+\n\n## Install\n### Maven\n```\n\u003cdependency\u003e\n    \u003cgroupId\u003eio.github.indianghost\u003c/groupId\u003e\n    \u003cartifactId\u003eindianghost-dumphelper\u003c/artifactId\u003e\n    \u003cversion\u003e1.0.0\u003c/version\u003e\n\u003c/dependency\u003e\n```\n### Gradle\n```\nimplementation group: 'io.github.indianghost', name: 'indianghost-dumphelper', version: '1.0.0'\n```\n### Gradle (Short)\n```\nimplementation 'io.github.indianghost:indianghost-dumphelper:1.0.0'\n```\n## Gradle (Kotlin)\n```\nimplementation(\"io.github.indianghost:indianghost-dumphelper:1.0.0\")\n```\n## SBT\n```\nlibraryDependencies += \"io.github.indianghost\" % \"indianghost-dumphelper\" % \"1.0.0\"\n```\n## Ivy\n```\n\u003cdependency org=\"io.github.indianghost\" name=\"indianghost-dumphelper\" rev=\"1.0.0\"/\u003e\n```\n## Grape\n```\n@Grapes(\n    @Grab(group='io.github.indianghost', module='indianghost-dumphelper', version='1.0.0')\n)\n```\n## Leiningen\n```\n[io.github.indianghost/indianghost-dumphelper \"1.0.0\"]\n```\n## Buildr\n```\n'io.github.indianghost:indianghost-dumphelper:jar:1.0.0'\n```\n\n## Examples of use\nFirst of all you should import the class **DumpHelper**:  \n`import io.github.indianghost.DumpHelper;`  \nThen you can use the method **dumpProperties(obj)** as:  \n`log.info(DumpHelper.dumpProperties(entityForDemo));`  \nto get the output:  \n```\nio.github.indianghost.EntityForDemo@351d0846[\n  age=30\n  marks=[9.62, 11.14, 17.0]\n  name=Lorem ipsum\n]\n```\nOr, you can use the method **dumpAsJson(obj)** as:  \n`log.info(DumpHelper.dumpAsJSON(entityForDemo));`  \nto get the output:  \n```\n{\n  \"name\" : \"Lorem ipsum\",\n  \"age\" : 30,\n  \"marks\" : [ 9.62, 11.14, 17.0 ]\n}\n```\n## Copyright and license\nCopyright 2022 Achraf BELLAALI **indianghost-dump-helper** is a free open-source project. The code is released under [The MIT LICENSE](https://github.com/IndianGhost/dump-helper/blob/main/LICENSE) you can do whatever you want with it !\n\n## Support My development\nIf you found it helpful, you can support me to develop new projects By :\n[![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.me/achrafbellaali)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findianghost%2Fdump-helper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Findianghost%2Fdump-helper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Findianghost%2Fdump-helper/lists"}