{"id":25902531,"url":"https://github.com/jitbit/jsonignoreprops","last_synced_at":"2026-03-03T15:33:07.650Z","repository":{"id":45849335,"uuid":"226531886","full_name":"jitbit/JsonIgnoreProps","owner":"jitbit","description":" tiny helper class to exclude a property from Json Serialization","archived":false,"fork":false,"pushed_at":"2023-06-27T09:22:14.000Z","size":7,"stargazers_count":10,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-17T18:34:33.053Z","etag":null,"topics":["csharp","json","json-net","newtonsoft-json"],"latest_commit_sha":null,"homepage":"https://www.jitbit.com/","language":"C#","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/jitbit.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2019-12-07T15:03:58.000Z","updated_at":"2025-01-18T20:39:31.000Z","dependencies_parsed_at":"2025-09-12T21:27:44.005Z","dependency_job_id":"f5eb3bc9-86b3-464c-8f07-9417b427f8a5","html_url":"https://github.com/jitbit/JsonIgnoreProps","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jitbit/JsonIgnoreProps","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jitbit%2FJsonIgnoreProps","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jitbit%2FJsonIgnoreProps/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jitbit%2FJsonIgnoreProps/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jitbit%2FJsonIgnoreProps/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jitbit","download_url":"https://codeload.github.com/jitbit/JsonIgnoreProps/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jitbit%2FJsonIgnoreProps/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30050465,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-03T15:26:47.567Z","status":"ssl_error","status_checked_at":"2026-03-03T15:26:17.132Z","response_time":61,"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":["csharp","json","json-net","newtonsoft-json"],"created_at":"2025-03-03T03:16:40.454Z","updated_at":"2026-03-03T15:33:07.628Z","avatar_url":"https://github.com/jitbit.png","language":"C#","readme":"# JsonIgnoreProps\n\nThis is a tiny helper class to exclude a property from Json Serialization **_when using Newtonsoft.Json_**\n\nIn case you have no access to the actual class you're serializing - so you can't add any attributes (like `[JsonIgnore]`), or you simply don't want to. Orif  you would like to decide this at run time - which properties to serialize - then use this class.\n\nUsage:\n\n```csharp\nJsonConvert.SerializeObject(\n\tYourObject,\n\tnew JsonSerializerSettings() {\n\t\tContractResolver = new IgnorePropertiesResolver(new[] { \"Prop1\", \"Prop2\" })\n\t};\n);\n```\n\nFor better performance make sure you *cache* the contractResolver object, do not create it every time.\n\n```csharp\nvar resolver = new IgnorePropertiesResolver(new[] { \"Prop1\", \"Prop2\" });\n\nJsonConvert.SerializeObject(\n\tYourObject,\n\tnew JsonSerializerSettings() {\n\t\tContractResolver = resolver //reuse\n\t};\n);\n```\n\n---\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjitbit%2Fjsonignoreprops","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjitbit%2Fjsonignoreprops","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjitbit%2Fjsonignoreprops/lists"}