[FLINK-16415] [core] Introduce JsonModuleFactory

The JsonModuleFactory is a static factory that creates JsonModules based
on the specified format version.

We currently only have one version, 1.0, and one corresponding
JsonModule, i.e. the JsonModule class. We need to further refactor
Pointers and JsonModule in the future once we introduce more versions.
3 files changed