UNPKG

@regulaforensics/document-reader

Version:

This is an npm module for Regula Document Reader SDK. It allows you to read various kinds of identification documents using your phone's camera.

31 lines (26 loc) 683 B
export class RFIDValue { data length status type format static fromJson(jsonObject) { if (jsonObject == null) return null; const result = new RFIDValue(); result.length = jsonObject["length"]; result.type = jsonObject["type"]; result.status = jsonObject["status"]; result.data = jsonObject["data"]; result.format = jsonObject["format"]; return result; } toJson() { return { "data": this.data, "length": this.length, "status": this.status, "type": this.type, "format": this.format, } } }