public static NfcScanner FromObject(object json)
 {
     dynamic obj = json;
     var o = new NfcScanner
     {
         DeviceId = obj.device_id,
         DeviceName = obj.device_name,
         Endpoint = obj.endpoint
     };
     return o;
 }
Пример #2
0
        public static NfcScanner FromObject(object json)
        {
            dynamic obj = json;
            var     o   = new NfcScanner
            {
                DeviceId   = obj.device_id,
                DeviceName = obj.device_name,
                Endpoint   = obj.endpoint
            };

            return(o);
        }