The class JsonWriterFactory also contains methods to create
JsonWriter instances. A factory instance can be used to create
multiple writer instances with the same configuration. This the preferred
way to create multiple instances. A sample usage is shown in the following
example: