{"id":25427931,"url":"https://github.com/cefoler/configuration","last_synced_at":"2025-10-31T17:30:30.443Z","repository":{"id":40483416,"uuid":"352709283","full_name":"cefoler/configuration","owner":"cefoler","description":"Framework for JSON, YAML, TOML and PROPERTIES configuration.","archived":false,"fork":false,"pushed_at":"2023-03-03T06:01:04.000Z","size":482,"stargazers_count":4,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-06-30T01:01:27.521Z","etag":null,"topics":["configuration","jackson","java","json","properties","toml","yaml"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cefoler.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-29T16:24:07.000Z","updated_at":"2022-12-23T19:28:09.000Z","dependencies_parsed_at":"2023-02-18T03:31:36.175Z","dependency_job_id":null,"html_url":"https://github.com/cefoler/configuration","commit_stats":null,"previous_names":[],"tags_count":27,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cefoler%2Fconfiguration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cefoler%2Fconfiguration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cefoler%2Fconfiguration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cefoler%2Fconfiguration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cefoler","download_url":"https://codeload.github.com/cefoler/configuration/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239221278,"owners_count":19602378,"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":["configuration","jackson","java","json","properties","toml","yaml"],"created_at":"2025-02-17T01:31:05.290Z","updated_at":"2025-10-31T17:30:30.385Z","avatar_url":"https://github.com/cefoler.png","language":"Java","readme":"# Configuration\n\nA Configuration wrapper for **Json**, **Yaml**, **Toml** and **Properties**, it uses **Jackson** as \nit's mainly reader ensuring the dependency is light-weight and performance.\n\n## How to use\n\nWant to take a look how easily you can create a new configuration? Take a look below:\n\n```\nfinal Configuration configuration = ConfigurationFactory.start(\n    ConfigurationType.DRIVER,\n    \"PATH\",\n    \"RESOURCE\",\n    false\n);\n``` \n\nFor the **DRIVER** value, you must use the **JSON**, **YAML**, **TOML** and **PROPERTIES** type\nfrom the ConfigurationType enum.\u003c/br\u003e\nFor the **PATH** value, you must use the file's destination path.\u003c/br\u003e\nFor the **RESOURCE** value, you must use the path of the internal configuration file.\u003c/br\u003e\n\n## Replace\n\nWant to use universal replaces to when you get or set a value at the configuration?\u003c/br\u003e\nOur ReplaceValue is here to help you!\n\n```\nfinal ReplaceValue replace = ReplaceValue.builder()\n    .value(VALUE_TO_BE_REPLACED)\n    .type(ReplaceType.TYPE_OF_SUBSTITUTE)\n    .build();\n\nconfiguration.addReplacer(VALUE_TO_REPLACE, replace);\n```\n\nFor the **VALUE_TO_BE_REPLACED** value, you must use the value that will be replaced.\u003c/br\u003e\nFor the **TYPE_OF_SUBSTITUTE** value, you can use the **ALL**, **GET** and **SET** type\nfrom the ReplaceType enum.\u003c/br\u003e\nFor the **VALUE_TO_REPLACE** value, you must use the value that will be the replacement.\u003c/br\u003e\n\nHave more questions? Feel free to create a issue and help us out!\n\n## How to install\n\n### Maven\n\n```\n\u003cdependency\u003e\n    \u003cgroupId\u003ecom.cefoler.configuration\u003c/groupId\u003e\n    \u003cartifactId\u003econfiguration\u003c/artifactId\u003e\n    \u003cversion\u003eVERSION\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\n### Gradle\n\n```\ndependencies {\n   implementation \"com.cefoler.configuration:configuration:VERSION\"\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcefoler%2Fconfiguration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcefoler%2Fconfiguration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcefoler%2Fconfiguration/lists"}