Ejemplo n.º 1
0
        public HelmMonomerDetail GetHelmMonomerDetailFromJson(string json)
        {
            var settings = new JsonSerializerSettings();

            settings.MetadataPropertyHandling = MetadataPropertyHandling.Ignore;

            HelmMonomerDetail monomerDetail = JsonConvert.DeserializeObject <HelmMonomerDetail>(json, settings);

            return(monomerDetail);
        }
Ejemplo n.º 2
0
        public HelmMonomerDetail GetHelmMonomerDetail(string polymertype, string symbol)
        {
            string json = GetHelmMonomerDetailJson(polymertype, symbol);

            var settings = new JsonSerializerSettings();

            settings.MetadataPropertyHandling = MetadataPropertyHandling.Ignore;

            HelmMonomerDetail monomerDetail = GetHelmMonomerDetailFromJson(json);

            return(monomerDetail);
        }