JSON parsing way to difficult #95463
-
This issue has been moved from a ticket on Developer Community. [severity:It's more difficult to complete my work] With the isArray(), isObject(), isBool(), isDouble(), osObject, isString and isUndefined() and the corresponding to...() functions it's very easy to use. And here in C#, creating a custom class just for JSON parsing? Far too complex. Original CommentsFeedback Bot on 11/22/2023, 02:51 AM:(private comment, text removed) Feedback Bot on 11/22/2023, 03:52 AM:(private comment, text removed) Original Solutions(no solutions) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Tagging subscribers to this area: @dotnet/area-system-text-json, @gregsdennis Issue DetailsThis issue has been moved from a ticket on Developer Community. [severity:It's more difficult to complete my work] With the isArray(), isObject(), isBool(), isDouble(), osObject, isString and isUndefined() and the corresponding to...() functions it's very easy to use. And here in C#, creating a custom class just for JSON parsing? Far too complex. Original CommentsFeedback Bot on 11/22/2023, 02:51 AM:(private comment, text removed) Feedback Bot on 11/22/2023, 03:52 AM:(private comment, text removed) Original Solutions(no solutions)
|
Beta Was this translation helpful? Give feedback.
-
There are |
Beta Was this translation helpful? Give feedback.
There are
JsonNode
andJsonDocument
in recent versions of System.Text.Json. They can be used withJsonSerializer
, or parsed directly withJsonNode.Parse
andJsonDocument.Parse
.