Skip to main content

Module json_array

Module json_array 

Source
Expand description

Module containing JSON array generation.

Functionsยง

generate
Generate a JSON array of count elements. Each element is produced by element_factory(rng) and embedded verbatim in the array (the factory MUST return valid JSON).
generate_validated
Like generate but validates the output as JSON before returning it.
validate_json
Minimal JSON structural validator.