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;
 }
Exemplo n.º 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);
        }