{"id":21016205,"url":"https://github.com/edadma/ubjson","last_synced_at":"2026-05-18T15:32:22.731Z","repository":{"id":80565619,"uuid":"127049259","full_name":"edadma/ubjson","owner":"edadma","description":"an implementation of the Universal Binary JSON (UBJSON) computer data interchange format for Scala","archived":false,"fork":false,"pushed_at":"2019-09-01T01:47:10.000Z","size":25,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-30T14:26:09.981Z","etag":null,"topics":["json","scala","ubjson"],"latest_commit_sha":null,"homepage":null,"language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/edadma.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}},"created_at":"2018-03-27T21:43:37.000Z","updated_at":"2019-11-10T00:20:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"52ea2d13-6190-4382-afe9-d136dd85a5d7","html_url":"https://github.com/edadma/ubjson","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/edadma/ubjson","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edadma%2Fubjson","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edadma%2Fubjson/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edadma%2Fubjson/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edadma%2Fubjson/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edadma","download_url":"https://codeload.github.com/edadma/ubjson/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edadma%2Fubjson/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33182762,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"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":["json","scala","ubjson"],"created_at":"2024-11-19T10:12:32.120Z","updated_at":"2026-05-18T15:32:22.726Z","avatar_url":"https://github.com/edadma.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"ubjson\n======\n\n[![Build Status](https://www.travis-ci.org/edadma/ubjson.svg?branch=master)](https://www.travis-ci.org/edadma/ubjson)\n[![Build status](https://ci.appveyor.com/api/projects/status/t9jvasndchc0qdaf/branch/master?svg=true)](https://ci.appveyor.com/project/edadma/ubjson/branch/master)\n[![Coverage Status](https://coveralls.io/repos/github/edadma/ubjson/badge.svg?branch=master)](https://coveralls.io/github/edadma/ubjson?branch=master)\n[![License](https://img.shields.io/badge/license-ISC-blue.svg)](https://opensource.org/licenses/ISC)\n[![Version](https://img.shields.io/badge/latest_release-v0.3-orange.svg)](https://www.scala-sbt.org/)\n\n*ubjson* is an implementation of the [Universal Binary JSON](http://ubjson.org/) (UBJSON) computer data interchange format for the [Scala](http://scala-lang.org) programming language.\n\n\nExample\n-------\n\nThe following example program shows how to use the convenience functions to write a Scala `Map` object to a UBJSON byte array, and then read that array back to create an equivalent `Map`.\n\n```scala\nimport xyz.hyperreal.ubjson._\n\nobject Main extends App {\n\n  val ubjson = writeUBJSON( Map(\"a\" -\u003e \"asdf\", \"b\" -\u003e 5) )\n\n  println( ubjson.toList map (b =\u003e if (b \u003c ' ') b.toString else b.toChar) mkString \" \" )\n  println( readUBJSON(ubjson) )\n\n}\n```\n\nThis program prints\n\n    { i 1 a S i 4 a s d f i 1 b i 5 }\n    Map(a -\u003e asdf, b -\u003e 5)\n\nwhich is the contents of the UBJSON byte array, and the resulting `Map` that was read from it.\n\n\nUsage\n-----\n\nUse the following definition to use *ubjson* in your Maven project:\n\n```xml\n\u003crepository\u003e\n  \u003cid\u003ehyperreal\u003c/id\u003e\n  \u003curl\u003ehttps://dl.bintray.com/edadma/maven\u003c/url\u003e\n\u003c/repository\u003e\n\n\u003cdependency\u003e\n  \u003cgroupId\u003exyz.hyperreal\u003c/groupId\u003e\n  \u003cartifactId\u003eubjson\u003c/artifactId\u003e\n  \u003cversion\u003e0.3\u003c/version\u003e\n\u003c/dependency\u003e\n```\n\nAdd the following to your `build.sbt` file to use *ubjson* in your SBT project:\n\n```sbt\nresolvers += \"Hyperreal Repository\" at \"https://dl.bintray.com/edadma/maven\"\n\nlibraryDependencies += \"xyz.hyperreal\" %% \"ubjson\" % \"0.3\"\n```\n\n\nBuilding\n--------\n\n### Requirements\n\n- Java 11+\n- SBT 1.2.8+\n- Scala 2.13.0+\n\n### Clone and Run the Tests\n\n```bash\ngit clone git://github.com/edadma/ubjson.git\ncd ubjson\nsbt test\n```\n\n\nLicense\n-------\n\nISC © 2019 Edward A. Maxedon, Sr.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedadma%2Fubjson","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedadma%2Fubjson","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedadma%2Fubjson/lists"}