{"id":18403709,"url":"https://github.com/russellluo/jsonsir","last_synced_at":"2025-08-20T02:07:25.855Z","repository":{"id":23526223,"uuid":"26892729","full_name":"RussellLuo/jsonsir","owner":"RussellLuo","description":"A serializer for JSON-like data in Python.","archived":false,"fork":false,"pushed_at":"2015-01-16T11:07:59.000Z","size":172,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T18:05:20.487Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RussellLuo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-11-20T02:48:55.000Z","updated_at":"2018-07-25T15:16:22.000Z","dependencies_parsed_at":"2022-08-05T22:30:51.663Z","dependency_job_id":null,"html_url":"https://github.com/RussellLuo/jsonsir","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RussellLuo%2Fjsonsir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RussellLuo%2Fjsonsir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RussellLuo%2Fjsonsir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RussellLuo%2Fjsonsir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RussellLuo","download_url":"https://codeload.github.com/RussellLuo/jsonsir/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248618277,"owners_count":21134200,"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-11-06T02:47:59.414Z","updated_at":"2025-04-12T19:11:39.617Z","avatar_url":"https://github.com/RussellLuo.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"JsonSir\n=======\n\nA serializer for JSON-like data in Python.\n\n\nSerialization Rules\n-------------------\n\n### Serializing\n\nConvert Python data to JSON:\n\nValue in Python                           | Value in JSON              | Value in JSON (`WITH_TYPE_NAME` == True)\n----------------------------------------- | -------------------------- | --------------------------\n10                                        | 10                         | 10\nTrue                                      | true                       | true\n\"string\"                                  | \"string\"                   | \"string\"\nre._pattern_type                          | \"/russ/\"                   | \"regex(/russ/)\"\nbson.ObjectId(\"543934671d41c812802711f3\") | \"543934671d41c812802711f3\" | \"objectid(543934671d41c812802711f3)\"\ndatetime.datetime(2014, 10, 11)           | \"2014-10-11T00:00:00Z\"     | \"datetime(2014-10-11T00:00:00Z)\"\n\n### Deserializing\n\nConvert JSON data to Python:\n\nValue in JSON                        | Value in Python\n------------------------------------ | -----------------------------------------\n\"int(10)\"                            | 10\n\"bool(true)\"                         | True\n\"string\"                             | \"string\"\n\"regex(/russ/)\"                      | re._pattern_type\n\"objectid(543934671d41c812802711f3)\" | bson.ObjectId(\"543934671d41c812802711f3\")\n\"datetime(2014-10-11T00:00:00Z)\"     | datetime.datetime(2014, 10, 11)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frussellluo%2Fjsonsir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frussellluo%2Fjsonsir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frussellluo%2Fjsonsir/lists"}