METHOD
JsonSerializer.Deserialize
Reads JSON into a specified type; reference results may be null.
Formal Syntax & Structure
csharp syntaxcsharp
JsonSerializer.Deserialize<TValue>(json, options)Working Example
Example Snippetcsharp
// Documentary fragment; see lesson for context and imports.JsonSerializer.Deserialize<StockItem>(json);