Skip to content
On this page
class · Ruby 4.0

JSON::Coder

< Object 5 instance methods 1 class methods

JSON::Coder holds a parser and generator configuration.

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

MyApp::JSONC_CODER.load(document)

Class methods 1

Instance methods 5