René's URL Explorer Experiment


Title: Problem Serialising Array / Enumerable. · Issue #101 · JSONAPIdotNET/JSONAPI.NET · GitHub

Open Graph Title: Problem Serialising Array / Enumerable. · Issue #101 · JSONAPIdotNET/JSONAPI.NET

X Title: Problem Serialising Array / Enumerable. · Issue #101 · JSONAPIdotNET/JSONAPI.NET

Description: Version - 0.2.0.0 (nuget) When serialising an array or enumerable, I get the following formatted output: { "products":{ "id":"NOIDCOMPUTABLE!", "length":3, "longLength":3, "rank":1, "isReadOnly":false, "isFixedSize":true, "isSynchronized...

Open Graph Description: Version - 0.2.0.0 (nuget) When serialising an array or enumerable, I get the following formatted output: { "products":{ "id":"NOIDCOMPUTABLE!", "length":3, "longLength":3, "rank":1, "isReadOnly":fa...

X Description: Version - 0.2.0.0 (nuget) When serialising an array or enumerable, I get the following formatted output: { "products":{ "id":"NOIDCOMPUTABLE!", "length":3, &...

Opengraph URL: https://github.com/JSONAPIdotNET/JSONAPI.NET/issues/101

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Problem Serialising Array / Enumerable.","articleBody":"Version - 0.2.0.0 (nuget)\n\nWhen serialising an array or enumerable, I get the following formatted output:\n\n``` json\n{\n    \"products\":{\n        \"id\":\"NOIDCOMPUTABLE!\",\n        \"length\":3,\n        \"longLength\":3,\n        \"rank\":1,\n        \"isReadOnly\":false,\n        \"isFixedSize\":true,\n        \"isSynchronized\":false,\n        \"links\":{\n            \"syncRoot\":\"NOIDCOMPUTABLE!\"\n        }\n    }\n```\n\nThe class being serialised is:\n\n``` csharp\n[JsonObject(Title = \"product\")]\n    public class ProductDto\n    {\n        public int Id { get; private set; }\n        public string Name { get; private set; }\n\n        public ProductDto(int id, string name)\n        {\n            Id = id;\n            Name = name;\n        }\n\n        public override string ToString()\n        {\n            return string.Format(\"ProductDto [Id: {0}, Name: {1}]\", Id, Name);\n        }\n    }\n```\n\nIf I serialise one of these (instead of an array) I get the expected output:\n\n``` json\n{\"products\":{\"id\":\"1\",\"name\":\"bob\"}}\n```\n\nThis is running in a Web Api 2 project, with the following setup code in `WebApiConfig.cs`:\n\n``` csharp\nusing JSONAPI.EntityFramework; // For pluralisation service.\nusing JSONAPI.Json;\n// ...\nvar formatter = new JsonApiFormatter { PluralizationService = new PluralizationService() };\nconfig.Formatters.Add(formatter);\n```\n\nIs there anything I am missing here? I've searched other open issues (and Stackoverflow) but couldn't see this mentioned anywhere.\n\nThanks.\n","author":{"url":"https://github.com/robert-af","@type":"Person","name":"robert-af"},"datePublished":"2015-09-03T08:51:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/101/JSONAPI.NET/issues/101"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:2f532a77-5fdc-e9a0-e5eb-0170e12fc36e
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA6C6:188FE8:5514F01:7810B60:6A4FF5D7
html-safe-noncea8afd8d03be52182af14169bfcf969c3baaaecd3dbc8a629a326b99f03fefd77
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNkM2OjE4OEZFODo1NTE0RjAxOjc4MTBCNjA6NkE0RkY1RDciLCJ2aXNpdG9yX2lkIjoiMzk3OTQwOTgzNTcyODgyNzg2MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac13b34ada2952869ffbd7fc8a60b5a7be0b4abd9a5e6d93c8826b62b5d4028327
hovercard-subject-tagissue:104649435
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/JSONAPIdotNET/JSONAPI.NET/101/issue_layout
twitter:imagehttps://opengraph.githubassets.com/c9dfbe421af6f754c93d74137b84f6e9d7b4871d2845568328d0ec3c2812a39f/JSONAPIdotNET/JSONAPI.NET/issues/101
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/c9dfbe421af6f754c93d74137b84f6e9d7b4871d2845568328d0ec3c2812a39f/JSONAPIdotNET/JSONAPI.NET/issues/101
og:image:altVersion - 0.2.0.0 (nuget) When serialising an array or enumerable, I get the following formatted output: { "products":{ "id":"NOIDCOMPUTABLE!", "length":3, "longLength":3, "rank":1, "isReadOnly":fa...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamerobert-af
hostnamegithub.com
expected-hostnamegithub.com
None3bd0ff5d28a87b4801a63fb38c2a21a91b0a700dca159dc9416aeae05771b899
turbo-cache-controlno-preview
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release67a336083e4dcb40224dc2c01cd4c7ed413bdb09
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/JSONAPIdotNET/JSONAPI.NET/issues/101#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJSONAPIdotNET%2FJSONAPI.NET%2Fissues%2F101
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%2Fissues%2F101
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%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=JSONAPIdotNET%2FJSONAPI.NET
Reloadhttps://github.com/JSONAPIdotNET/JSONAPI.NET/issues/101
Reloadhttps://github.com/JSONAPIdotNET/JSONAPI.NET/issues/101
Reloadhttps://github.com/JSONAPIdotNET/JSONAPI.NET/issues/101
Please reload this pagehttps://github.com/JSONAPIdotNET/JSONAPI.NET/issues/101
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
Problem Serialising Array / Enumerable.https://github.com/JSONAPIdotNET/JSONAPI.NET/issues/101#top
https://github.com/robert-af
robert-afhttps://github.com/robert-af
on Sep 3, 2015https://github.com/JSONAPIdotNET/JSONAPI.NET/issues/101#issue-104649435
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.