You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
NuGetGallery/tests/CatalogTests/CheckResults.cs

19 lines
421 B
C#

using Newtonsoft.Json.Linq;
using System;
using System.IO;
namespace CatalogTests
{
public class CheckResults
{
public static void Test0()
{
JObject obj = JObject.Parse((new StreamReader(@"C:\data\site\test\resolver\test.metadata.service.json")).ReadToEnd());
JArray packages = (JArray)obj["package"];
Console.WriteLine(packages.Count);
}
}
}