René's URL Explorer Experiment


Title: Treat JToken properties as primitive attributes for serialization by csantero · Pull Request #123 · JSONAPIdotNET/JSONAPI.NET · GitHub

Open Graph Title: Treat JToken properties as primitive attributes for serialization by csantero · Pull Request #123 · JSONAPIdotNET/JSONAPI.NET

X Title: Treat JToken properties as primitive attributes for serialization by csantero · Pull Request #123 · JSONAPIdotNET/JSONAPI.NET

Description: This allows you to add JToken properties to your CLR resource types and have JSONAPI.NET serialize them as attributes. Previously the framework tried to treat them as relationships.

Open Graph Description: This allows you to add JToken properties to your CLR resource types and have JSONAPI.NET serialize them as attributes. Previously the framework tried to treat them as relationships.

X Description: This allows you to add JToken properties to your CLR resource types and have JSONAPI.NET serialize them as attributes. Previously the framework tried to treat them as relationships.

Opengraph URL: https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:9056a400-9c43-fcbb-8ca0-e0254027730d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id94FC:2F0FE8:C4C559:10424B6:6A53246C
html-safe-noncebc5f77231c447345a15ca65a61f38f3347e2eaa8dbd6c1720f502bff80c3fcde
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NEZDOjJGMEZFODpDNEM1NTk6MTA0MjRCNjo2QTUzMjQ2QyIsInZpc2l0b3JfaWQiOiI1ODQ3Nzg1Njk5NzE4NDA3Mjc2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmaca68f332f99b1dca10f7ec348989cc6b55f6a26f9c3b42fcfbb9ef01795425e7a
hovercard-subject-tagpull_request:85496488
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/files
twitter:imagehttps://avatars.githubusercontent.com/u/828286?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/828286?s=400&v=4
og:image:altThis allows you to add JToken properties to your CLR resource types and have JSONAPI.NET serialize them as attributes. Previously the framework tried to treat them as relationships.
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/JSONAPIdotNET/JSONAPI.NET git https://github.com/JSONAPIdotNET/JSONAPI.NET.git
octolytics-dimension-user_id16112275
octolytics-dimension-user_loginJSONAPIdotNET
octolytics-dimension-repository_id27474358
octolytics-dimension-repository_nwoJSONAPIdotNET/JSONAPI.NET
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27474358
octolytics-dimension-repository_network_root_nwoJSONAPIdotNET/JSONAPI.NET
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJSONAPIdotNET%2FJSONAPI.NET%2Fpull%2F123%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJSONAPIdotNET%2FJSONAPI.NET%2Fpull%2F123%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=JSONAPIdotNET%2FJSONAPI.NET
Reloadhttps://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/files
Reloadhttps://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/files
Reloadhttps://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/files
Please reload this pagehttps://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/files
JSONAPIdotNET https://github.com/JSONAPIdotNET
JSONAPI.NEThttps://github.com/JSONAPIdotNET/JSONAPI.NET
Notifications https://github.com/login?return_to=%2FJSONAPIdotNET%2FJSONAPI.NET
Fork 23 https://github.com/login?return_to=%2FJSONAPIdotNET%2FJSONAPI.NET
Star 101 https://github.com/login?return_to=%2FJSONAPIdotNET%2FJSONAPI.NET
Code https://github.com/JSONAPIdotNET/JSONAPI.NET
Issues 28 https://github.com/JSONAPIdotNET/JSONAPI.NET/issues
Pull requests 5 https://github.com/JSONAPIdotNET/JSONAPI.NET/pulls
Actions https://github.com/JSONAPIdotNET/JSONAPI.NET/actions
Projects https://github.com/JSONAPIdotNET/JSONAPI.NET/projects
Wiki https://github.com/JSONAPIdotNET/JSONAPI.NET/wiki
Security and quality 0 https://github.com/JSONAPIdotNET/JSONAPI.NET/security
Insights https://github.com/JSONAPIdotNET/JSONAPI.NET/pulse
Code https://github.com/JSONAPIdotNET/JSONAPI.NET
Issues https://github.com/JSONAPIdotNET/JSONAPI.NET/issues
Pull requests https://github.com/JSONAPIdotNET/JSONAPI.NET/pulls
Actions https://github.com/JSONAPIdotNET/JSONAPI.NET/actions
Projects https://github.com/JSONAPIdotNET/JSONAPI.NET/projects
Wiki https://github.com/JSONAPIdotNET/JSONAPI.NET/wiki
Security and quality https://github.com/JSONAPIdotNET/JSONAPI.NET/security
Insights https://github.com/JSONAPIdotNET/JSONAPI.NET/pulse
Sign up for GitHub https://github.com/signup?return_to=%2FJSONAPIdotNET%2FJSONAPI.NET%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FJSONAPIdotNET%2FJSONAPI.NET%2Fissues%2Fnew%2Fchoose
csanterohttps://github.com/csantero
masterhttps://github.com/JSONAPIdotNET/JSONAPI.NET/tree/master
jtoken-attributehttps://github.com/JSONAPIdotNET/JSONAPI.NET/tree/jtoken-attribute
Conversation 0 https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123
Commits 1 https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/commits
Checks 0 https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/checks
Files changed https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/files
Please reload this pagehttps://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/files
Treat JToken properties as primitive attributes for serialization https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/files#top
Show all changes 1 commit https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/files
1d16107 Treat JToken properties as primitive attributes for serialization Sep 15, 2016 https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/commits/1d161072caa4ad194b22b75541f804a601e3d812
Clear filters https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/files
Please reload this pagehttps://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/files
Please reload this pagehttps://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/files
Attributes_of_various_types_serialize_correctly.json https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/files#diff-d474cad809219d5c8a16542f7c02b49300e4f13b6ae461efbefd139a283f3699
SamplesController.cs https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/files#diff-1b8a1965f273eb47b5c660e851a7b552e9c2b9a91442c6929cea3b89621c1174
Sample.cs https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/files#diff-8bc0490b7dca86ef9310260cb58ea5b039ab19796795113f666617d0d15a5f34
TypeExtensionsTests.cs https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/files#diff-09f44320dd6958426c26169d4a2b9752ff01f3b8822833185d1c21a469ba294b
TypeExtensions.cs https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/files#diff-020731366e136b1d07f59feb0dc8c56a86d6d6af6fde5002df2b0bc2214a121a
...ests/Fixtures/AttributeSerialization/Attributes_of_various_types_serialize_correctly.jsonhttps://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/files#diff-d474cad809219d5c8a16542f7c02b49300e4f13b6ae461efbefd139a283f3699
View file https://github.com/JSONAPIdotNET/JSONAPI.NET/blob/1d161072caa4ad194b22b75541f804a601e3d812/JSONAPI.AcceptanceTests.EntityFrameworkTestWebApp.Tests/Fixtures/AttributeSerialization/Attributes_of_various_types_serialize_correctly.json
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/{{ revealButtonHref }}
JSONAPI.AcceptanceTests.EntityFrameworkTestWebApp/Controllers/SamplesController.cshttps://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/files#diff-1b8a1965f273eb47b5c660e851a7b552e9c2b9a91442c6929cea3b89621c1174
View file https://github.com/JSONAPIdotNET/JSONAPI.NET/blob/1d161072caa4ad194b22b75541f804a601e3d812/JSONAPI.AcceptanceTests.EntityFrameworkTestWebApp/Controllers/SamplesController.cs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/{{ revealButtonHref }}
https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/files#diff-1b8a1965f273eb47b5c660e851a7b552e9c2b9a91442c6929cea3b89621c1174
https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/files#diff-1b8a1965f273eb47b5c660e851a7b552e9c2b9a91442c6929cea3b89621c1174
https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/files#diff-1b8a1965f273eb47b5c660e851a7b552e9c2b9a91442c6929cea3b89621c1174
https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/files#diff-1b8a1965f273eb47b5c660e851a7b552e9c2b9a91442c6929cea3b89621c1174
JSONAPI.AcceptanceTests.EntityFrameworkTestWebApp/Models/Sample.cshttps://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/files#diff-8bc0490b7dca86ef9310260cb58ea5b039ab19796795113f666617d0d15a5f34
View file https://github.com/JSONAPIdotNET/JSONAPI.NET/blob/1d161072caa4ad194b22b75541f804a601e3d812/JSONAPI.AcceptanceTests.EntityFrameworkTestWebApp/Models/Sample.cs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/{{ revealButtonHref }}
https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/files#diff-8bc0490b7dca86ef9310260cb58ea5b039ab19796795113f666617d0d15a5f34
https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/files#diff-8bc0490b7dca86ef9310260cb58ea5b039ab19796795113f666617d0d15a5f34
JSONAPI.Tests/Extensions/TypeExtensionsTests.cshttps://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/files#diff-09f44320dd6958426c26169d4a2b9752ff01f3b8822833185d1c21a469ba294b
View file https://github.com/JSONAPIdotNET/JSONAPI.NET/blob/1d161072caa4ad194b22b75541f804a601e3d812/JSONAPI.Tests/Extensions/TypeExtensionsTests.cs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/{{ revealButtonHref }}
https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/files#diff-09f44320dd6958426c26169d4a2b9752ff01f3b8822833185d1c21a469ba294b
https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/files#diff-09f44320dd6958426c26169d4a2b9752ff01f3b8822833185d1c21a469ba294b
https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/files#diff-09f44320dd6958426c26169d4a2b9752ff01f3b8822833185d1c21a469ba294b
JSONAPI/Extensions/TypeExtensions.cshttps://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/files#diff-020731366e136b1d07f59feb0dc8c56a86d6d6af6fde5002df2b0bc2214a121a
View file https://github.com/JSONAPIdotNET/JSONAPI.NET/blob/1d161072caa4ad194b22b75541f804a601e3d812/JSONAPI/Extensions/TypeExtensions.cs
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/{{ revealButtonHref }}
https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/files#diff-020731366e136b1d07f59feb0dc8c56a86d6d6af6fde5002df2b0bc2214a121a
https://github.com/JSONAPIdotNET/JSONAPI.NET/pull/123/files#diff-020731366e136b1d07f59feb0dc8c56a86d6d6af6fde5002df2b0bc2214a121a
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.