-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
System.Text.Json usability study results #30189
Comments
Glad to see the progress. I didn't know till now that F1 goes to the docs page for the type that's actually under the cursor, never saw this mentioned anywhere. F12 is probably used more because it's easier to dig through the code, especially for 3rd party libraries. Also lots of docs pages are nothing more than a print of the XML comments so looking at the code is just faster. |
Object Browser is good; however the usability to get to it is hard. You have to open it and then type in and search for the class or method. Am sure in a previous version of VS there was a right-click option that took you directly to it. It would good if this returned as object browser gives the most context and holistic overview. |
F1 goes to the docs page for known types??? I've been using VS for like 10 years and didn't know this. I always thought it just went to the generic VS help page. Maybe this should be in the right click menu for better discoverability? Also I get why everyone used F12 to view the API, Alt-F12 "Peek" works wonders too. Reading method signatures with doc strings is usually the easiest and fastest way to tell exactly what a library expects. Intellisense is fine, but it doesn't always have the concise detail developers crave. Object Browser is a little clunky and hidden away compared to F12 which is a frequently used tool. |
That's good news! Had a headache in few projects trying to keep JSON.NET dependency version the same. |
Just tried asp.net core 3.0 (w/ the new default JSON formatter), so here's a piece of feedback:
I understand that you are not aiming for full compatibility with JSON.NET but I feel it's a scenario worth covering. I created an OData endpoint and when the client sends a query with |
Not any time soon. This isn't mainstream enough warranting us having to build one. NuGet packages already exist :-) |
I'm closing this to get the release PMs off my back who freak out about open bugs right now. However, please keep the comments/questions coming :-) |
+1, I've tried and always end up frustrated because I can't quite remember how to.
💯 this was a great read @terrajobst! |
We've performed a usability study on the new
System.Text.Json
APIs which will replace JSON.NET as the default JSON experience in .NET Core 3.0:This has worked out well for us as we were able to get short term feedback which resulted in significant improvements to the overall API shape and usability. In the future, we should do more API focused UX studies 😊
Tasks
Hypotheses
We expect developers to...
System.Text.Json
for their next JSON taskKey Observations
System.Text.Json
for new APIs, but would stick to JSON.NET in code that already uses it.System.Text.Json
weren't the same thingJsonSerializer
the problem is & how they can fix them.
types from namespaces not imported yet.
UserControl
in WinForms and WPF) and both are referenced by the project.async
/await
are usability cliffsIntelliSense completion
The text was updated successfully, but these errors were encountered: