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.

17 lines (12 loc) 361 B
import { RFIDValue } from './RFIDValue'; export class Attribute { type value static fromJson(jsonObject) { if (jsonObject == null) return null; const result = new Attribute(); result.type = jsonObject["type"]; result.value = RFIDValue.fromJson(jsonObject["value"]); return result; } }