Esempio n. 1
0
        internal static PSB Parse(string json, ushort version)
        {
            PSB psb = new PSB(version)
            {
                Objects = JsonConvert.DeserializeObject <PsbDictionary>(json, new PsbJsonConverter())
            };

            psb.InferType();
            psb.Collect(false, false); //don't merge res since it's empty now
            return(psb);
        }