{"id":16374990,"url":"https://github.com/moderocky/mapformat","last_synced_at":"2025-09-21T17:41:14.581Z","repository":{"id":181790976,"uuid":"667313145","full_name":"Moderocky/MapFormat","owner":"Moderocky","description":"A resource for formatting a string with a key \u003c-\u003e value map of inputs.","archived":false,"fork":false,"pushed_at":"2023-07-17T08:24:56.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-02T05:05:19.055Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Moderocky.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}},"created_at":"2023-07-17T08:18:30.000Z","updated_at":"2023-07-17T08:18:40.000Z","dependencies_parsed_at":"2023-07-17T13:35:42.838Z","dependency_job_id":null,"html_url":"https://github.com/Moderocky/MapFormat","commit_stats":null,"previous_names":["moderocky/mapformat"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Moderocky/MapFormat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moderocky%2FMapFormat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moderocky%2FMapFormat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moderocky%2FMapFormat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moderocky%2FMapFormat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Moderocky","download_url":"https://codeload.github.com/Moderocky/MapFormat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Moderocky%2FMapFormat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276278085,"owners_count":25615185,"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-21T02:00:07.055Z","response_time":72,"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":[],"created_at":"2024-10-11T03:19:02.306Z","updated_at":"2025-09-21T17:41:14.560Z","avatar_url":"https://github.com/Moderocky.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"Map Format\n=====\n\n### Description\n\nA resource for formatting a string with a key \u003c-\u003e value map of inputs.\n\n### Motivation\n\nJava's built-in string format supports (very limited) inputs of strings or objects.\nThere are other libraries for formatting using a key but these (e.g. Sun Microsystems's 'MapFormat') are usually very\nslow, not particularly good at identifying what's going on, or only support one limited key format.\n\nI made this as a tiny, no-regex alternative.\n\nThe formatting is done in two passes: the first chops the string up into chunks of literal text and tokens to be read\nfrom the map, and the second rebuilds the string by asking for the values from the map and inserting them into the\nstring builder.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoderocky%2Fmapformat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoderocky%2Fmapformat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoderocky%2Fmapformat/lists"}