{"id":16696934,"url":"https://github.com/seratch/ltsv4s","last_synced_at":"2025-04-10T02:52:42.188Z","repository":{"id":6841007,"uuid":"8089479","full_name":"seratch/ltsv4s","owner":"seratch","description":"LTSV parser implementation in Scala","archived":false,"fork":false,"pushed_at":"2023-02-13T03:45:25.000Z","size":46,"stargazers_count":11,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-24T04:22:37.636Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Scala","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/seratch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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}},"created_at":"2013-02-08T07:34:41.000Z","updated_at":"2022-04-27T01:35:55.000Z","dependencies_parsed_at":"2025-02-16T10:32:53.193Z","dependency_job_id":"48a3adcd-d114-4df8-99fb-942f385a0766","html_url":"https://github.com/seratch/ltsv4s","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seratch%2Fltsv4s","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seratch%2Fltsv4s/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seratch%2Fltsv4s/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seratch%2Fltsv4s/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seratch","download_url":"https://codeload.github.com/seratch/ltsv4s/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248147160,"owners_count":21055486,"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-12T17:45:19.647Z","updated_at":"2025-04-10T02:52:42.159Z","avatar_url":"https://github.com/seratch.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LTSV4S\n\nLTSV Parser implementation in Scala\n\n[![Build Status](https://travis-ci.org/seratch/ltsv4s.svg?branch=develop)](https://travis-ci.org/seratch/ltsv4s)\n[![Coverage Status](https://coveralls.io/repos/seratch/ltsv4s/badge.png?branch=develop)](https://coveralls.io/r/seratch/ltsv4s?branch=develop)\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.github.seratch/ltsv4s_2.13/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.github.seratch/ltsv4s_2.13)\n\n## What's LTSV?\n\nhttp://ltsv.org/\n\n## Usage\n\n### sbt settings\n\nAdd ltsv4s to libraryDependencies.\n\n```scala\nlibraryDependencies += \"com.github.seratch\" %% \"ltsv4s\" % \"1.0.+\"\n```\n\n### Example\n\n```scala\nimport com.github.seratch.ltsv4s._\n\nval log: Map[String, String] = LTSV.parseLine(\"field1:value1\\tfield2:value2\")\nval line: String = LTSV.dump(log)\n\nval logs: List[Map[String, String]] = LTSV.parseLines(\"field1:value1\\tfield2:value2\\nfield1:value1\\tfield2:value2\")\nval lines: List[String] = LTSV.dump(logs)\n```\n\nIn lenient mode, the parser will allow any character in a field value, apart from tab and newline chars.\n\n```scala\nval ltsv: Map[String, String] = LTSV.parseLine(\"name:クリス\\tage:28\", lenient=true)\nltsv.size should equal(2)\nltsv(\"name\") should equal(\"クリス\")\n```\n\n## How to release this library\n\n```bash\nsbt test\nsbt ++publishSigned sonatypeBundleRelease\n```\n\n## License\n\nCopyright 2013 - Kazuhiro Sera\n\nApache License, Version 2.0\n\nhttp://www.apache.org/licenses/LICENSE-2.0.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseratch%2Fltsv4s","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseratch%2Fltsv4s","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseratch%2Fltsv4s/lists"}