{"id":16178870,"url":"https://github.com/liangbaika/jsonfy","last_synced_at":"2026-05-15T22:04:33.975Z","repository":{"id":62572912,"uuid":"234482964","full_name":"liangbaika/jsonfy","owner":"liangbaika","description":"Json与Python对象的双向绑定(jsonfy)  Jsonfy: Lightweight two-way binding of JSON and object without third-party dependency","archived":false,"fork":false,"pushed_at":"2020-01-30T07:43:27.000Z","size":33,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-19T06:50:21.433Z","etag":null,"topics":["conevrt","json","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/liangbaika.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.rst","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-17T06:11:07.000Z","updated_at":"2020-06-29T07:07:11.000Z","dependencies_parsed_at":"2022-11-03T18:26:43.502Z","dependency_job_id":null,"html_url":"https://github.com/liangbaika/jsonfy","commit_stats":null,"previous_names":["1144388620lq/jsonfy"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/liangbaika/jsonfy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liangbaika%2Fjsonfy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liangbaika%2Fjsonfy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liangbaika%2Fjsonfy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liangbaika%2Fjsonfy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/liangbaika","download_url":"https://codeload.github.com/liangbaika/jsonfy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/liangbaika%2Fjsonfy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27731469,"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-12-14T02:00:11.348Z","response_time":56,"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":["conevrt","json","python"],"created_at":"2024-10-10T05:24:45.841Z","updated_at":"2025-12-14T16:41:47.569Z","avatar_url":"https://github.com/liangbaika.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 1. Jsonfy: Lightweight two-way binding of JSON and object without third-party dependency\n## 2. pip install jsonfy \n## 3. How to use? you can see examples or Quick start \n## 4. Welcome to submit your code and comments to a better Jsonfy \n## 5. Quick start：\n```\nimport time\nfrom datetime import datetime\nfrom cn.jsonfy.core import DateTimeDesc, BaseJsonModel, DictDesc\n\nclass Foo(BaseJsonModel):\n    infos1 = DictDesc(\"infos1\")\n    up = DateTimeDesc(\"up\", format='%Y-%m-%d')\n    down = DateTimeDesc(\"down\")\n    \n    \nif __name__ == '__main__':\n    f = Foo()\n    _fake_time = datetime.now()\n    f.up = _fake_time\n    f.down = _fake_time\n    _dict = {\"key\": \"value\"}\n    f.infos1 = _dict\n    \n    print(f.toJson())\n    f_obj = f.fromJson(f.toJson())\n    print(f_obj)\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliangbaika%2Fjsonfy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliangbaika%2Fjsonfy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliangbaika%2Fjsonfy/lists"}