Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,7 @@
## 2015-09-11 (2.0.0)
* Now complies to newest JSON RFC 7159.
* Implements compatibility to ruby 2.4 integer unification.
* Removed support for `quirks_mode` option.
* Drops support for old rubies whose life has ended, that is rubies < 2.0.
Also see https://www.ruby-lang.org/en/news/2014/07/01/eol-for-1-8-7-and-1-9-2/
* There were still some mentions of dual GPL licensing in the source, but JSON
Expand Down
7 changes: 0 additions & 7 deletions java/src/json/ext/GeneratorState.java
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,6 @@ public class GeneratorState extends RubyObject {
*/
private boolean asciiOnly = DEFAULT_ASCII_ONLY;
static final boolean DEFAULT_ASCII_ONLY = false;
/**
* If set to <code>true</code> all JSON values generated might not be
* RFC-conform JSON documents.
*/
private boolean quirksMode = DEFAULT_QUIRKS_MODE;
static final boolean DEFAULT_QUIRKS_MODE = false;
/**
* If set to <code>true</code> the forward slash will be escaped in
* json output.
Expand Down Expand Up @@ -218,7 +212,6 @@ public IRubyObject initialize_copy(ThreadContext context, IRubyObject vOrig) {
this.maxNesting = orig.maxNesting;
this.allowNaN = orig.allowNaN;
this.asciiOnly = orig.asciiOnly;
this.quirksMode = orig.quirksMode;
this.scriptSafe = orig.scriptSafe;
this.strict = orig.strict;
this.bufferInitialLength = orig.bufferInitialLength;
Expand Down
Loading