Just call array.ToObject<List<SelectableEnumItem>>()
method. It will return what you need.
Documentation: Convert JSON to a Type
More Related Contents:
- parse JSON using json.net c# [closed]
- Deserializing polymorphic json classes without type information using json.net
- How to ignore a property in class if null, using json.net
- Casting interfaces for deserialization in JSON.NET
- Specifying a custom DateTime format when serializing with Json.Net
- What is the correct way to use JSON.NET to parse stream of JSON objects?
- How to show the “paste Json class” in visual studio 2012 when clicking on Paste Special?
- Deserialize collection of interface-instances?
- “Self Referencing Loop Detected” exception with JSON.Net
- How can I encrypt selected properties when serializing my objects?
- Registering a custom JsonConverter globally in Json.Net
- Converting newtonsoft code to System.Text.Json in .net core 3. what’s equivalent of JObject.Parse and JsonProperty
- Using JSON.NET to return ActionResult [duplicate]
- How can I get a list of keys from Json.NET?
- Newtonsoft Json.Net serialize JObject doesn’t ignore nulls, even with the right settings
- Keep casing when serializing dictionaries
- Json.NET custom serialization with JsonConverter – how to get the “default” behavior
- JsonValueProviderFactory throws “request too large”
- JSON deserialization – Map array indices to properties with JSON.NET
- Using JSON.net, how do I prevent serializing properties of a derived class, when used in a base class context?
- Json.NET serialize by depth and attribute
- JSON.NET cast error when serializing Mongo ObjectId
- JsonConvert.Deserializer indexing issues
- Checking for empty or null JToken in a JObject
- System.Text.Json: Deserialize JSON with automatic casting
- Deserialize json that has some property name starting with a number
- json net leading zeros (disable base-cast)
- Serialize only interface properties to JSON with Json.net
- Null-coalescing operator returning null for properties of dynamic objects
- Is there a way in Json.NET serialization to distinguish between “null because not present” and “null because null”?