Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 655 Bytes

ParseJsonArray.md

File metadata and controls

26 lines (22 loc) · 655 Bytes

Parse JSON using JArray.Parse

This sample parses a JSON array using Argon.JArray.Parse(System.String).

var json = """
           [
             'Small',
             'Medium',
             'Large'
           ]
           """;

var a = JArray.Parse(json);

Console.WriteLine(a.ToString());
// [
//   "Small",
//   "Medium",
//   "Large"
// ]

snippet source | anchor