{"id":34988158,"url":"https://github.com/umjammer/klab-commons-csv","last_synced_at":"2026-05-19T13:37:24.131Z","repository":{"id":24035892,"uuid":"27420946","full_name":"umjammer/klab-commons-csv","owner":"umjammer","description":"🍊 Java Annotation for CSV","archived":false,"fork":false,"pushed_at":"2022-10-22T14:11:41.000Z","size":164,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-05-01T22:34:41.837Z","etag":null,"topics":["annotation","csv","java","pojo"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/umjammer.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-12-02T07:39:58.000Z","updated_at":"2022-10-22T14:09:50.000Z","dependencies_parsed_at":"2023-01-14T00:17:14.996Z","dependency_job_id":null,"html_url":"https://github.com/umjammer/klab-commons-csv","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/umjammer/klab-commons-csv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umjammer%2Fklab-commons-csv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umjammer%2Fklab-commons-csv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umjammer%2Fklab-commons-csv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umjammer%2Fklab-commons-csv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/umjammer","download_url":"https://codeload.github.com/umjammer/klab-commons-csv/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/umjammer%2Fklab-commons-csv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33218940,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-19T07:54:09.561Z","status":"ssl_error","status_checked_at":"2026-05-19T07:54:08.508Z","response_time":58,"last_error":"SSL_read: 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":["annotation","csv","java","pojo"],"created_at":"2025-12-27T01:43:37.520Z","updated_at":"2026-05-19T13:37:24.126Z","avatar_url":"https://github.com/umjammer.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Release](https://jitpack.io/v/umjammer/klab-commons-csv.svg)](https://jitpack.io/#umjammer/klab-commons-csv)\n[![Java CI](https://github.com/umjammer/klab-commons-csv/workflows/Java%20CI/badge.svg)](https://github.com/umjammer/klab-commons-csv/actions)\n[![CodeQL](https://github.com/umjammer/klab-commons-csv/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/umjammer/klab-commons-csv/actions/workflows/codeql-analysis.yml)\n![Java](https://img.shields.io/badge/Java-8-b07219)\n\n# klab-commons-csv\n\nAnnotations for CSV\n\n## POJO annotation\n\nAs CSV column definitions, just add `@CsvEntity`, `@CsvColumn` annotation into a POJO.\n\n```java\n @CsvEntity(url = \"classpath:test.csv\", encoding = \"Windows-31J\")\n class Foo {\n  @CsvColumn(sequence = 0)\n  @GeneratedValue // give a id number automatically when reading.\n  Integer id;\n  @CsvColumn(sequence = 1)\n  String column1;\n  @CsvColumn(sequence = 2)\n  int column2;\n  @CsvColumn(sequence = 3)\n  @Enumerated(EnumType.ORDINAL)\n  SomeEnumType column3;\n  @CsvColumn(sequence = 4)\n  @Dialectal // dealing user defined columns or variable length columns\n  UserType notCsvColumn;\n }\n```\n\n## Usage\n\nread by one liner.\n\n```Java\n List\u003cFoo\u003e result = CsvEntity.Util.read(Foo.class);\n```\n\n## TODO\n\n * ~~args~~ done\n * ~~make default provider apache-commons-csv~~ done\n * ~~delimiter~~ done","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumjammer%2Fklab-commons-csv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fumjammer%2Fklab-commons-csv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fumjammer%2Fklab-commons-csv/lists"}