public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
        {
            Dictionary<string, object> propDict = serializer.Deserialize<Dictionary<string, object>>(reader);
            ShortProperty prop = new ShortProperty(propDict.First().Key);
            NumberProperty.DeserializeNumber(prop, JsonConvert.DeserializeObject<Dictionary<string, object>>(propDict.First().Value.ToString()));

            return prop;
        }
        public void PASS_Create()
        {
            ShortProperty prop = new ShortProperty("shortme")
            {
                PrecisionStep = 5
            };

            Assert.IsNotNull(prop);
            Assert.AreEqual("shortme", prop.Name);
            Assert.AreEqual((int)5, prop.PrecisionStep);
        }
        public void PASS_Serialize()
        {
            ShortProperty prop = new ShortProperty("shortme")
            {
                PrecisionStep = 5
            };
            string json = JsonConvert.SerializeObject(prop);
            Assert.IsNotNull(json);

            string expectedJson = "{\"shortme\":{\"type\":\"short\",\"precision_step\":5}}";
            Assert.AreEqual(expectedJson, json);
        }