From: sebastienpuyet@... Date: 2017-10-25T14:01:16+00:00 Subject: [ruby-core:83564] [Ruby trunk Bug#14054] Json parser bug Issue #14054 has been reported by spuyet (S��bastien Puyet). ---------------------------------------- Bug #14054: Json parser bug https://bugs.ruby-lang.org/issues/14054 * Author: spuyet (S��bastien Puyet) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: * Backport: 2.3: UNKNOWN, 2.4: UNKNOWN ---------------------------------------- Hello, When i do: ```ruby JSON.parse("true") # => JSON::ParserError: 784: unexpected token at 'true' true.to_json # => "true" ``` The "true" or even "false" are valid according to the JSON standard (https://tools.ietf.org/html/rfc7159): WDYT about this ? Cheers, S��bastien -- https://bugs.ruby-lang.org/ Unsubscribe: