{"id":16906327,"url":"https://github.com/lonecloud/objectutils","last_synced_at":"2025-04-12T15:05:40.335Z","repository":{"id":105205783,"uuid":"84691972","full_name":"lonecloud/ObjectUtils","owner":"lonecloud","description":null,"archived":false,"fork":false,"pushed_at":"2018-05-29T01:40:58.000Z","size":7,"stargazers_count":2,"open_issues_count":0,"forks_count":14,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T15:03:52.176Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/lonecloud.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-03-12T01:38:28.000Z","updated_at":"2019-10-28T02:20:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"b0f4e600-5a55-4302-84ab-86a569ade7b3","html_url":"https://github.com/lonecloud/ObjectUtils","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lonecloud%2FObjectUtils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lonecloud%2FObjectUtils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lonecloud%2FObjectUtils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lonecloud%2FObjectUtils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lonecloud","download_url":"https://codeload.github.com/lonecloud/ObjectUtils/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248586236,"owners_count":21128997,"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":[],"created_at":"2024-10-13T18:42:14.720Z","updated_at":"2025-04-12T15:05:40.327Z","avatar_url":"https://github.com/lonecloud.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n# Object转Map工具类\n\n1. objectToMap(Object obj)\n- 参数:\n    -  object  传入的对象\n- 返回:\n    - Map\u003cString,String\u003e \n- 返回值的构造\n    - key: 参数名\n    - value: 值String\n2. Map\u003cString, String\u003e objectToMapString(String timeFormatStr, Object obj, String... excludeFields)\n参数:\n- timeFormatStr **非必须** 对时间格式化字符默认格式化:2017-03-10 10:21\n- object  传入的对象\n- excludeFields   需要排除的对象 \n- 传入格式: \n    - User 对象中有三个属性id,name,year \n    - 排除name 则输入User.name \n- 返回:\n  - Map\u003cString,String\u003e \n- 返回值的构造\n  - key: 简单类名.参数名\n  - value: 值为String\n            \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flonecloud%2Fobjectutils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flonecloud%2Fobjectutils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flonecloud%2Fobjectutils/lists"}