Just generate examples. Validate JSON.

It doesn’t make any sense to run the examples as they are just examples
and might not be compilable on the platform being tested on.