{"id":36698266,"url":"https://github.com/voomdoon/vd-from-properties-parser","last_synced_at":"2026-01-12T11:35:12.162Z","repository":{"id":228717258,"uuid":"774734872","full_name":"voomdoon/vd-from-properties-parser","owner":"voomdoon","description":null,"archived":false,"fork":false,"pushed_at":"2025-12-18T05:57:15.000Z","size":44,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-21T14:59:11.008Z","etag":null,"topics":["config-parser","dot-properties","nested-objects","parsing","properties-parser"],"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/voomdoon.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-03-20T04:43:07.000Z","updated_at":"2025-12-18T05:57:12.000Z","dependencies_parsed_at":"2025-07-23T09:05:34.258Z","dependency_job_id":"cecfa3eb-c034-4b93-9637-7e6186efcd75","html_url":"https://github.com/voomdoon/vd-from-properties-parser","commit_stats":null,"previous_names":["voomdoon/vd-from-properties-parser"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/voomdoon/vd-from-properties-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voomdoon%2Fvd-from-properties-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voomdoon%2Fvd-from-properties-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voomdoon%2Fvd-from-properties-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voomdoon%2Fvd-from-properties-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/voomdoon","download_url":"https://codeload.github.com/voomdoon/vd-from-properties-parser/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voomdoon%2Fvd-from-properties-parser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28338971,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-12T10:58:46.209Z","status":"ssl_error","status_checked_at":"2026-01-12T10:58:42.742Z","response_time":98,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["config-parser","dot-properties","nested-objects","parsing","properties-parser"],"created_at":"2026-01-12T11:35:12.102Z","updated_at":"2026-01-12T11:35:12.155Z","avatar_url":"https://github.com/voomdoon.png","language":"Java","readme":"# vd-from-properties-parser\n\nA lightweight, reflection-based utility to populate Java objects from `Properties`.\nSupports nested structures, collections, maps, interfaces (via `class` property), and uses `FromStringParsers` to support string-based conversions for individual properties.\n\n---\n\n## Features\n\n- Populate object fields via `Properties`\n- Supports:\n  - Collections (inline or indexed)\n  - Maps (inline or recursive)\n  - Nested objects (recursively parsed)\n  - Polymorphism (via `.class` property)\n- Works out of the box — no annotations or frameworks required\n- Extensible with custom parsers via SPI (see [vd-from-string-parser](https://github.com/voomdoon/vd-from-string-parser))\n\n---\n\n## Comparison\n\n| Feature                            | `vd-from-properties-parser` | [Spring Boot](https://docs.spring.io/spring-boot/docs/current/reference/html/application-properties.html#application-properties) | [Apache Commons Configuration](https://commons.apache.org/proper/commons-configuration/) | [Owner](https://github.com/matteobaccan/owner) |\n|-------------------------------|-----------------------------|-------------|------------------------|-------|\n| Works with plain `Properties` | ✅                           | ❌          | ✅                     | ✅    |\n| Deep/nested object support    | ✅                           | ✅          | ❌                     | ❌    |\n| Custom parsers via SPI        | ✅                           | ❌          | ❌                     | ❌    |\n| Reflection-based (no annotations) | ✅                     | ❌          | ❌                     | ❌    |\n| Lightweight (no framework)    | ✅                           | ❌          | ✅                     | ✅    |\n\n---\n\n## Examples\n\n### Collection\n\n**Inline:**\n```properties\ncollection=a,b,c\n```\n\n**Using integer index:**\n```properties\ncollection.0=a\ncollection.1=b\ncollection.3=c\n```\n\n**Using any index:**\n```properties\ncollection.a=a\ncollection.b=b\ncollection.z=c\n```\n\n**With recursion:**\n```properties\ncollection.0.string=a\ncollection.1.string=b\n```\n\n\u003cdetails\u003e\n\u003csummary\u003eView classes\u003c/summary\u003e\n\n### MyObject\n```java\npublic class MyObject {\n    public Collection\u003cMySubObject\u003e collection;\n}\n```\n\n### MySubObject\n```java\npublic class MySubObject {\n    public String string;\n}\n```\n\n\u003c/details\u003e\n\n---\n\n### Map\n\n**Inline:**\n```properties\nmap.abc=123\n```\n\n**Using any index with explicit key and value:**\n```properties\nmap.0.key=abc\nmap.0.value=123\n```\n\n**With recursion:**\n```properties\nmap.0.key.string=a\nmap.0.value.string=1\n```\n\n\u003cdetails\u003e\n\u003csummary\u003eView classes\u003c/summary\u003e\n\n### MyObject\n```java\npublic class MyObject {\n    public Map\u003cMySubObject, MySubObject\u003e map;\n}\n```\n\n### MySubObject\n```java\npublic class MySubObject {\n    public String string;\n}\n```\n\n\u003c/details\u003e\n\n---\n\n### Inheritance\n\n**Specify implementing class for an interface:**\n```properties\nobject.class=MyImplementation\nobject.string=abc\n```\n\n\u003cdetails\u003e\n\u003csummary\u003eView classes\u003c/summary\u003e\n\n### MyInterface\n```java\npublic interface MyInterface {}\n```\n\n### MyImplementation\n```java\npublic class MyImplementation implements MyInterface {\n    public String string;\n}\n```\n\n\u003c/details\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoomdoon%2Fvd-from-properties-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvoomdoon%2Fvd-from-properties-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoomdoon%2Fvd-from-properties-parser/lists"}