@digitalpersona/core
Version:
DigitalPersona Web Access Core library
14 lines (8 loc) • 421 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@digitalpersona/core](./core.md) > [Base64](./core.base64.md) > [fromJSON](./core.base64.fromjson.md)
## Base64.fromJSON property
Encodes a plain JSON object or a string to a Base64-encoded string.
<b>Signature:</b>
```typescript
static fromJSON: (obj: string | object) => Base64String;
```