Skip to main content

Datatype

randJSON

Generate a random JSON Object.

import { randJSON } from '@ngneat/falso';

randJSON()
If a fixed number of keys are required

randJSON({ totalKeys: 10 })
If a random number of keys are required

randJSON({ minKeys: 1, maxKeys: 10 })
Live Editor
Result
Loading...