Skip to content
This repository has been archived by the owner on Aug 13, 2024. It is now read-only.

Add arbitrary depth for JSON Object generation #4

Closed
chuwy opened this issue Jul 18, 2018 · 0 comments
Closed

Add arbitrary depth for JSON Object generation #4

chuwy opened this issue Jul 18, 2018 · 0 comments

Comments

@chuwy
Copy link
Contributor

chuwy commented Jul 18, 2018

Without depth-restriction if we swap primitive with json here ScalaCheck will fail with StackOverflowError as resulting json object can be infinitely deep. As a result JsonGen.fields generates only Map[String, Primitive]

@chuwy chuwy closed this as completed Aug 10, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant