Expand description
Module containing JSON array generation.
Functionsยง
- generate
- Generate a JSON array of
countelements. Each element is produced byelement_factory(rng)and embedded verbatim in the array (the factory MUST return valid JSON). - generate_
validated - Like
generatebut validates the output as JSON before returning it. - validate_
json - Minimal JSON structural validator.