Пример #1
0
        public override void ReadJSON(JObject JObject, Dictionary <Int32, Int32> NodeMap, Dictionary <Int32, Int32> NodeTypeMap)
        {
            if (null != JObject[_ValueSubField.ToXmlNodeName(true)])
            {
                CswDelimitedString NewValue = new CswDelimitedString(Delimiter);
                NewValue.FromString(JObject[_ValueSubField.ToXmlNodeName(true)].ToString());

                if (false == AllowMultiple)
                {
                    string SingleValue = NewValue[0];
                    NewValue.Clear();
                    NewValue.Add(SingleValue);
                }
                Value = NewValue;
            }
        }