jsonx-org / java

Reference implementation of the JSONx specification for the Java platform, including encoding, decoding, processing, validation, and binding.
https://www.jsonx.org/java/
MIT License
48 stars 14 forks source link

Support global JxDecoder #23

Closed safris closed 3 years ago

safris commented 3 years ago

Add:

  1. set(JxDecoder) to set the global JxDecoder.
  2. get() to get the globa JxDecoder (default is JxDecoder.NON_VALIDATING).
  3. get(boolean), with a validation boolean specifying whether the {@link JxDecoder} is to validate JSON documents while parsing.