Exemplo n.º 1
0
        public void GetBenchGPUParser()
        {
            String JsonS = GetBenchScoreGPU();

            JsonContainer scores = new JsonContainer(JsonS)["scores"] as JsonContainer;

            JsonContainer temp;

            String purpose;
            int    score;

            foreach (JsonContainer i in scores.GetListEnumerable())
            {
                temp    = scores[i] as JsonContainer;
                purpose = temp["purpose"] as string;
                score   = int.Parse(temp["score"] as string);
            }
        }