class JSON::Coder

JSON::Coder speichert eine Parser- und Generator-Konfiguration.

module MyApp
  JSONC_CODER = JSON::Coder.new(
    allow_trailing_comma: true
  )
end

MyApp::JSONC_CODER.load(document)