{"id":26512252,"url":"https://github.com/audunegames/object-serialization","last_synced_at":"2026-04-29T13:37:09.864Z","repository":{"id":267292509,"uuid":"861458352","full_name":"audunegames/object-serialization","owner":"audunegames","description":"Custom and extensible object serialization for Unity.","archived":false,"fork":false,"pushed_at":"2024-12-27T18:18:39.000Z","size":92,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-12-27T19:22:58.354Z","etag":null,"topics":["messagepack","serialization","unity"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/audunegames.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2024-09-22T23:51:50.000Z","updated_at":"2024-12-27T18:18:42.000Z","dependencies_parsed_at":"2024-12-09T14:44:55.098Z","dependency_job_id":"511e4205-9bab-4cd3-b87f-7a54ef798d0b","html_url":"https://github.com/audunegames/object-serialization","commit_stats":null,"previous_names":["audunegames/object-serialization"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/audunegames%2Fobject-serialization","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/audunegames%2Fobject-serialization/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/audunegames%2Fobject-serialization/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/audunegames%2Fobject-serialization/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/audunegames","download_url":"https://codeload.github.com/audunegames/object-serialization/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244731664,"owners_count":20500719,"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":["messagepack","serialization","unity"],"created_at":"2025-03-21T03:28:16.465Z","updated_at":"2026-04-29T13:37:04.830Z","avatar_url":"https://github.com/audunegames.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Audune Object Serialization\n\n[![openupm](https://img.shields.io/npm/v/com.audune.serialization?label=openupm\u0026registry_uri=https://package.openupm.com)](https://openupm.com/packages/com.audune.serialization/)\n\nCustom and extensible object serialization for Unity, using intermediate state classes.\n\nSee the [wiki](https://github.com/audunegames/object-serialization/wiki) of the repository to get started with the package.\n\n## Features\n\n* Serialize and deserialize primtive values and Unity structs to and from intermediate state classes respectively. Easily create your own serializable classes and structs by implementing the `ISerializable` interface and crafting a state structure reminiscent of JSON.\n* Encode and decode states and objects that can be serialized to states to a string or byte array for storage on a filesystem or sending over a network.\n* Use the [Object Persistence package](https://github.com/audunegames/object-persistence) for a higher-level library to save and load states to and from the filesystem, repsectively, or any other filesystem adapter.\n\n### Supported serialization types\n\n* C# value types: `bool`, `byte`, `sbyte`, `ushort`, `short`, `uint`, `int`, `ulong`, `long`, `float`, `double`.\n* C# reference types: `string`, `byte[]`.\n* Unity structs: `Vector2`, `Vector3`, `Vector4`, `Vector2Int`, `Vector3Int`, `Color32`, `Color`, `Quaternion`, `Rect`, `Bounds`, `RectInt`, `BoundsInt`.\n* Any custom class that implements `Audune.Serialization.ISerializable`.\n\n### Supported encoders\n\n* [MessagePack](https://msgpack.org/) with optional LZ4 compression, using the [MessagePack-CSharp](https://github.com/MessagePack-CSharp/MessagePack-CSharp) library.\n\n## Installation\n\n### Requirements\n\nThis package depends on the following packages:\n\n* [MessagePack](https://openupm.com/packages/net.tnrd.messagepack/), version **2.5.125** or higher.\n\nIf you're installing the required packages from the [OpenUPM registry](https://openupm.com/), make sure to add a scoped registry with the URL `https://package.openupm.com` and the required scopes before installing the packages.\n\n### Installing from the OpenUPM registry\n\nTo install this package as a package from the OpenUPM registry in the Unity Editor, use the following steps:\n\n* In the Unity editor, navigate to **Edit › Project Settings... › Package Manager**.\n* Add the following Scoped Registry, or edit the existing OpenUPM entry to include the new Scope:\n\n```\nName:     package.openupm.com\nURL:      https://package.openupm.com\nScope(s): com.audune.serialization\n```\n\n* Navigate to **Window › Package Manager**.\n* Click the **+** icon and click **Add package by name...**\n* Enter the following name in the corresponding field and click **Add**:\n\n```\ncom.audune.serialization\n```\n\n### Installing as a Git package\n\nTo install this package as a Git package in the Unity Editor, use the following steps:\n\n* In the Unity editor, navigate to **Window › Package Manager**.\n* Click the **+** icon and click **Add package from git URL...**\n* Enter the following URL in the URL field and click **Add**:\n\n```\nhttps://github.com/audunegames/object-serialization.git\n```\n\n## License\n\nThis package is licensed under the GNU LGPL 3.0 license. See `LICENSE.txt` for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faudunegames%2Fobject-serialization","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faudunegames%2Fobject-serialization","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faudunegames%2Fobject-serialization/lists"}