{"id":20930513,"url":"https://github.com/liangjingkanji/serialize","last_synced_at":"2025-04-09T15:08:37.182Z","repository":{"id":37744553,"uuid":"310170422","full_name":"liangjingkanji/Serialize","owner":"liangjingkanji","description":"🍒 Android 简单高性能读写本地数据, 直接存储对象/基础类型","archived":false,"fork":false,"pushed_at":"2023-08-31T14:14:42.000Z","size":1780,"stargazers_count":247,"open_issues_count":4,"forks_count":22,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-09T15:08:32.650Z","etag":null,"topics":["android","mmkv","sharedpreferences"],"latest_commit_sha":null,"homepage":"http://liangjingkanji.github.io/Serialize/","language":"Kotlin","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/liangjingkanji.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":"2020-11-05T02:32:44.000Z","updated_at":"2025-03-23T08:23:08.000Z","dependencies_parsed_at":"2024-11-18T21:40:40.185Z","dependency_job_id":"1b3475e1-3144-4e05-a933-9dfcaf13e699","html_url":"https://github.com/liangjingkanji/Serialize","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liangjingkanji%2FSerialize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liangjingkanji%2FSerialize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liangjingkanji%2FSerialize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liangjingkanji%2FSerialize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liangjingkanji","download_url":"https://codeload.github.com/liangjingkanji/Serialize/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248055282,"owners_count":21040157,"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":["android","mmkv","sharedpreferences"],"created_at":"2024-11-18T21:34:39.978Z","updated_at":"2025-04-09T15:08:37.158Z","avatar_url":"https://github.com/liangjingkanji.png","language":"Kotlin","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"https://i.loli.net/2020/11/05/kH4udPFocxtVC76.gif\" width=\"200\"/\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\u003cstrong\u003e标准序列化工具\u003c/strong\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\u003ca href=\"http://liangjingkanji.github.io/Serialize/\"\u003e使用文档\u003c/a\u003e | \u003ca href=\"https://github.com/liangjingkanji/document/blob/master/visit-pages.md\"\u003e无法访问?\u003c/a\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\u003cimg src=\"https://i.imgur.com/atvWwig.png\" width=\"420\"/\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\"https://jitpack.io/#liangjingkanji/Serialize\"\u003e\u003cimg src=\"https://jitpack.io/v/liangjingkanji/Serialize.svg\"/\u003e\u003c/a\u003e\n\u003cimg src=\"https://img.shields.io/badge/language-kotlin-orange.svg\"/\u003e\n\u003cimg src=\"https://img.shields.io/badge/license-Apache-blue\"/\u003e\n\u003ca href=\"http://liangjingkanji.github.io/Serialize/updates\"\u003e\u003cimg src=\"https://img.shields.io/badge/updates-%E6%9B%B4%E6%96%B0%E6%97%A5%E5%BF%97-brightgreen\"/\u003e\u003c/a\u003e\n\u003ca href=\"https://liangjingkanji.github.io/Serialize/api/\"\u003e\u003cimg src=\"https://img.shields.io/badge/api-%E5%87%BD%E6%95%B0%E6%96%87%E6%A1%A3-red\"/\u003e\u003c/a\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/liangjingkanji/liangjingkanji/master/img/group.svg\"/\u003e\n\u003c/p\u003e\n\n\n简化项目中的序列化\n\n- 创建自动存储本地的字段(内部使用[MMKV](https://github.com/Tencent/MMKV))\n- 创建自动存储本地的LiveData可观察字段\n- 存储读写对象\n- 创新式使用双通道读写磁盘, 耗时大幅度低于SQLite/sp/mmkv, 完美解决ANR\n- 快捷跳转Activity/Fragment和参数传递\n- 创建自动注入Activity/Fragment参数的字段(支持可空类型)\n\n\n\u003cbr\u003e\n\n## 安装\n\n添加远程仓库根据创建项目的 Android Studio 版本有所不同\n\nAndroid Studio Arctic Fox以下创建的项目 在项目根目录的 build.gradle 添加仓库\n\n```groovy\nallprojects {\n    repositories {\n        // ...\n        maven { url 'https://jitpack.io' }\n    }\n}\n```\n\nAndroid Studio Arctic Fox以上创建的项目 在项目根目录的 settings.gradle 添加仓库\n\n```kotlin\ndependencyResolutionManagement {\n    repositories {\n        // ...\n        maven { url 'https://jitpack.io' }\n    }\n}\n```\n\n然后在 module 的 build.gradle 添加依赖框架\n\n```groovy\nimplementation 'com.github.liangjingkanji:Serialize:3.0.1'\n```\n\n\u003cbr\u003e\n\n## License\n\n```\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliangjingkanji%2Fserialize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliangjingkanji%2Fserialize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliangjingkanji%2Fserialize/lists"}