json 1.7.5-java → 1.7.6-java
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of json might be problematic. Click here for more details.
- data/lib/json/add/bigdecimal.rb +7 -0
- data/lib/json/common.rb +2 -2
- data/lib/json/ext/generator.jar +0 -0
- data/lib/json/ext/parser.jar +0 -0
- data/lib/json/generic_object.rb +15 -0
- data/lib/json/pure/generator.rb +34 -14
- data/lib/json/pure/parser.rb +3 -3
- data/lib/json/version.rb +1 -1
- data/tests/fixtures/fail18.json +1 -1
- data/tests/test_json.rb +12 -12
- data/tests/test_json_encoding.rb +1 -1
- data/tests/test_json_fixtures.rb +1 -1
- data/tests/test_json_generate.rb +52 -4
- data/tests/test_json_generic_object.rb +12 -1
- data/tests/test_json_string_matching.rb +1 -1
- data/tests/test_json_unicode.rb +1 -1
- metadata +94 -101
data/lib/json/add/bigdecimal.rb
CHANGED
@@ -4,10 +4,16 @@ end
|
|
4
4
|
defined?(::BigDecimal) or require 'bigdecimal'
|
5
5
|
|
6
6
|
class BigDecimal
|
7
|
+
# Import a JSON Marshalled object.
|
8
|
+
#
|
9
|
+
# method used for JSON marshalling support.
|
7
10
|
def self.json_create(object)
|
8
11
|
BigDecimal._load object['b']
|
9
12
|
end
|
10
13
|
|
14
|
+
# Marshal the object to JSON.
|
15
|
+
#
|
16
|
+
# method used for JSON marshalling support.
|
11
17
|
def as_json(*)
|
12
18
|
{
|
13
19
|
JSON.create_id => self.class.name,
|
@@ -15,6 +21,7 @@ class BigDecimal
|
|
15
21
|
}
|
16
22
|
end
|
17
23
|
|
24
|
+
# return the JSON value
|
18
25
|
def to_json(*)
|
19
26
|
as_json.to_json
|
20
27
|
end
|
data/lib/json/common.rb
CHANGED
@@ -139,7 +139,7 @@ module JSON
|
|
139
139
|
# keys:
|
140
140
|
# * *max_nesting*: The maximum depth of nesting allowed in the parsed data
|
141
141
|
# structures. Disable depth checking with :max_nesting => false. It defaults
|
142
|
-
# to
|
142
|
+
# to 100.
|
143
143
|
# * *allow_nan*: If set to true, allow NaN, Infinity and -Infinity in
|
144
144
|
# defiance of RFC 4627 to be parsed by the Parser. This option defaults
|
145
145
|
# to false.
|
@@ -199,7 +199,7 @@ module JSON
|
|
199
199
|
# encountered. This options defaults to false.
|
200
200
|
# * *max_nesting*: The maximum depth of nesting allowed in the data
|
201
201
|
# structures from which JSON is to be generated. Disable depth checking
|
202
|
-
# with :max_nesting => false, it defaults to
|
202
|
+
# with :max_nesting => false, it defaults to 100.
|
203
203
|
#
|
204
204
|
# See also the fast_generate for the fastest creation method with the least
|
205
205
|
# amount of sanity checks, and the pretty_generate method for some
|
data/lib/json/ext/generator.jar
CHANGED
Binary file
|
data/lib/json/ext/parser.jar
CHANGED
Binary file
|
data/lib/json/generic_object.rb
CHANGED
@@ -10,6 +10,21 @@ module JSON
|
|
10
10
|
data.delete JSON.create_id
|
11
11
|
self[data]
|
12
12
|
end
|
13
|
+
|
14
|
+
def from_hash(object)
|
15
|
+
case
|
16
|
+
when object.respond_to?(:to_hash)
|
17
|
+
result = new
|
18
|
+
object.to_hash.each do |key, value|
|
19
|
+
result[key] = from_hash(value)
|
20
|
+
end
|
21
|
+
result
|
22
|
+
when object.respond_to?(:to_ary)
|
23
|
+
object.to_ary.map { |a| from_hash(a) }
|
24
|
+
else
|
25
|
+
object
|
26
|
+
end
|
27
|
+
end
|
13
28
|
end
|
14
29
|
|
15
30
|
def to_hash
|
data/lib/json/pure/generator.rb
CHANGED
@@ -220,17 +220,22 @@ module JSON
|
|
220
220
|
# Configure this State instance with the Hash _opts_, and return
|
221
221
|
# itself.
|
222
222
|
def configure(opts)
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
@
|
227
|
-
@
|
228
|
-
@
|
229
|
-
@
|
230
|
-
@
|
231
|
-
@
|
232
|
-
if
|
233
|
-
|
223
|
+
for key, value in opts
|
224
|
+
instance_variable_set "@#{key}", value
|
225
|
+
end
|
226
|
+
@indent = opts[:indent] if opts.key?(:indent)
|
227
|
+
@space = opts[:space] if opts.key?(:space)
|
228
|
+
@space_before = opts[:space_before] if opts.key?(:space_before)
|
229
|
+
@object_nl = opts[:object_nl] if opts.key?(:object_nl)
|
230
|
+
@array_nl = opts[:array_nl] if opts.key?(:array_nl)
|
231
|
+
@allow_nan = !!opts[:allow_nan] if opts.key?(:allow_nan)
|
232
|
+
@ascii_only = opts[:ascii_only] if opts.key?(:ascii_only)
|
233
|
+
@depth = opts[:depth] || 0
|
234
|
+
@quirks_mode = opts[:quirks_mode] if opts.key?(:quirks_mode)
|
235
|
+
@buffer_initial_length ||= opts[:buffer_initial_length]
|
236
|
+
|
237
|
+
if !opts.key?(:max_nesting) # defaults to 100
|
238
|
+
@max_nesting = 100
|
234
239
|
elsif opts[:max_nesting]
|
235
240
|
@max_nesting = opts[:max_nesting]
|
236
241
|
else
|
@@ -244,12 +249,15 @@ module JSON
|
|
244
249
|
# passed to the configure method.
|
245
250
|
def to_h
|
246
251
|
result = {}
|
247
|
-
for iv in
|
248
|
-
|
252
|
+
for iv in instance_variables
|
253
|
+
iv = iv.to_s[1..-1]
|
254
|
+
result[iv.to_sym] = self[iv]
|
249
255
|
end
|
250
256
|
result
|
251
257
|
end
|
252
258
|
|
259
|
+
alias to_hash to_h
|
260
|
+
|
253
261
|
# Generates a valid JSON document from object +obj+ and returns the
|
254
262
|
# result. If no valid JSON document can be created this method raises a
|
255
263
|
# GeneratorError exception.
|
@@ -267,7 +275,19 @@ module JSON
|
|
267
275
|
|
268
276
|
# Return the value returned by method +name+.
|
269
277
|
def [](name)
|
270
|
-
|
278
|
+
if respond_to?(name)
|
279
|
+
__send__(name)
|
280
|
+
else
|
281
|
+
instance_variable_get("@#{name}")
|
282
|
+
end
|
283
|
+
end
|
284
|
+
|
285
|
+
def []=(name, value)
|
286
|
+
if respond_to?(name_writer = "#{name}=")
|
287
|
+
__send__ name_writer, value
|
288
|
+
else
|
289
|
+
instance_variable_set "@#{name}", value
|
290
|
+
end
|
271
291
|
end
|
272
292
|
end
|
273
293
|
|
data/lib/json/pure/parser.rb
CHANGED
@@ -56,7 +56,7 @@ module JSON
|
|
56
56
|
# keys:
|
57
57
|
# * *max_nesting*: The maximum depth of nesting allowed in the parsed data
|
58
58
|
# structures. Disable depth checking with :max_nesting => false|nil|0,
|
59
|
-
# it defaults to
|
59
|
+
# it defaults to 100.
|
60
60
|
# * *allow_nan*: If set to true, allow NaN, Infinity and -Infinity in
|
61
61
|
# defiance of RFC 4627 to be parsed by the Parser. This option defaults
|
62
62
|
# to false.
|
@@ -76,8 +76,8 @@ module JSON
|
|
76
76
|
source = convert_encoding source
|
77
77
|
end
|
78
78
|
super source
|
79
|
-
if !opts.key?(:max_nesting) # defaults to
|
80
|
-
@max_nesting =
|
79
|
+
if !opts.key?(:max_nesting) # defaults to 100
|
80
|
+
@max_nesting = 100
|
81
81
|
elsif opts[:max_nesting]
|
82
82
|
@max_nesting = opts[:max_nesting]
|
83
83
|
else
|
data/lib/json/version.rb
CHANGED
data/tests/fixtures/fail18.json
CHANGED
@@ -1 +1 @@
|
|
1
|
-
[[[[[[[[[[[[[[[[[[[["Too deep"]]]]]]]]]]]]]]]]]]]]
|
1
|
+
[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[["Too deep"]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
|
data/tests/test_json.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
#
|
2
|
+
# encoding: utf-8
|
3
3
|
|
4
4
|
require 'test/unit'
|
5
5
|
require File.join(File.dirname(__FILE__), 'setup_variant')
|
@@ -446,12 +446,12 @@ EOT
|
|
446
446
|
assert_raises(JSON::NestingError) { JSON.parse '[[]]', :max_nesting => 1 }
|
447
447
|
assert_raises(JSON::NestingError) { JSON.parser.new('[[]]', :max_nesting => 1).parse }
|
448
448
|
assert_equal [[]], JSON.parse('[[]]', :max_nesting => 2)
|
449
|
-
too_deep = '[[[[[[[[[[[[[[[[[[[["Too deep"]]]]]]]]]]]]]]]]]]]]'
|
449
|
+
too_deep = '[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[["Too deep"]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]'
|
450
450
|
too_deep_ary = eval too_deep
|
451
451
|
assert_raises(JSON::NestingError) { JSON.parse too_deep }
|
452
452
|
assert_raises(JSON::NestingError) { JSON.parser.new(too_deep).parse }
|
453
|
-
assert_raises(JSON::NestingError) { JSON.parse too_deep, :max_nesting =>
|
454
|
-
ok = JSON.parse too_deep, :max_nesting =>
|
453
|
+
assert_raises(JSON::NestingError) { JSON.parse too_deep, :max_nesting => 100 }
|
454
|
+
ok = JSON.parse too_deep, :max_nesting => 101
|
455
455
|
assert_equal too_deep_ary, ok
|
456
456
|
ok = JSON.parse too_deep, :max_nesting => nil
|
457
457
|
assert_equal too_deep_ary, ok
|
@@ -462,8 +462,8 @@ EOT
|
|
462
462
|
assert_raises(JSON::NestingError) { JSON.generate [[]], :max_nesting => 1 }
|
463
463
|
assert_equal '[[]]', JSON.generate([[]], :max_nesting => 2)
|
464
464
|
assert_raises(JSON::NestingError) { JSON.generate too_deep_ary }
|
465
|
-
assert_raises(JSON::NestingError) { JSON.generate too_deep_ary, :max_nesting =>
|
466
|
-
ok = JSON.generate too_deep_ary, :max_nesting =>
|
465
|
+
assert_raises(JSON::NestingError) { JSON.generate too_deep_ary, :max_nesting => 100 }
|
466
|
+
ok = JSON.generate too_deep_ary, :max_nesting => 101
|
467
467
|
assert_equal too_deep, ok
|
468
468
|
ok = JSON.generate too_deep_ary, :max_nesting => nil
|
469
469
|
assert_equal too_deep, ok
|
@@ -494,18 +494,18 @@ EOT
|
|
494
494
|
end
|
495
495
|
|
496
496
|
def test_dump
|
497
|
-
too_deep = '[[[[[[[[[[[[[[[[[[[[]]]]]]]]]]]]]]]]]]]]'
|
497
|
+
too_deep = '[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]'
|
498
498
|
assert_equal too_deep, JSON.dump(eval(too_deep))
|
499
499
|
assert_kind_of String, Marshal.dump(eval(too_deep))
|
500
|
-
assert_raises(ArgumentError) { JSON.dump(eval(too_deep),
|
501
|
-
assert_raises(ArgumentError) { Marshal.dump(eval(too_deep),
|
502
|
-
assert_equal too_deep, JSON.dump(eval(too_deep),
|
503
|
-
assert_kind_of String, Marshal.dump(eval(too_deep),
|
500
|
+
assert_raises(ArgumentError) { JSON.dump(eval(too_deep), 100) }
|
501
|
+
assert_raises(ArgumentError) { Marshal.dump(eval(too_deep), 100) }
|
502
|
+
assert_equal too_deep, JSON.dump(eval(too_deep), 101)
|
503
|
+
assert_kind_of String, Marshal.dump(eval(too_deep), 101)
|
504
504
|
output = StringIO.new
|
505
505
|
JSON.dump(eval(too_deep), output)
|
506
506
|
assert_equal too_deep, output.string
|
507
507
|
output = StringIO.new
|
508
|
-
JSON.dump(eval(too_deep), output,
|
508
|
+
JSON.dump(eval(too_deep), output, 101)
|
509
509
|
assert_equal too_deep, output.string
|
510
510
|
end
|
511
511
|
|
data/tests/test_json_encoding.rb
CHANGED
data/tests/test_json_fixtures.rb
CHANGED
data/tests/test_json_generate.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
#
|
2
|
+
# encoding: utf-8
|
3
3
|
|
4
4
|
require 'test/unit'
|
5
5
|
require File.join(File.dirname(__FILE__), 'setup_variant')
|
@@ -130,7 +130,7 @@ EOT
|
|
130
130
|
:quirks_mode => false,
|
131
131
|
:depth => 0,
|
132
132
|
:indent => " ",
|
133
|
-
:max_nesting =>
|
133
|
+
:max_nesting => 100,
|
134
134
|
:object_nl => "\n",
|
135
135
|
:space => " ",
|
136
136
|
:space_before => "",
|
@@ -147,7 +147,7 @@ EOT
|
|
147
147
|
:quirks_mode => false,
|
148
148
|
:depth => 0,
|
149
149
|
:indent => "",
|
150
|
-
:max_nesting =>
|
150
|
+
:max_nesting => 100,
|
151
151
|
:object_nl => "",
|
152
152
|
:space => "",
|
153
153
|
:space_before => "",
|
@@ -200,7 +200,7 @@ EOT
|
|
200
200
|
s = JSON.state.new
|
201
201
|
assert_equal 0, s.depth
|
202
202
|
assert_raises(JSON::NestingError) { ary.to_json(s) }
|
203
|
-
assert_equal
|
203
|
+
assert_equal 100, s.depth
|
204
204
|
end
|
205
205
|
|
206
206
|
def test_buffer_initial_length
|
@@ -227,6 +227,30 @@ EOT
|
|
227
227
|
GC.stress = stress
|
228
228
|
end if GC.respond_to?(:stress=)
|
229
229
|
|
230
|
+
def test_configure_using_configure_and_merge
|
231
|
+
numbered_state = {
|
232
|
+
:indent => "1",
|
233
|
+
:space => '2',
|
234
|
+
:space_before => '3',
|
235
|
+
:object_nl => '4',
|
236
|
+
:array_nl => '5'
|
237
|
+
}
|
238
|
+
state1 = JSON.state.new
|
239
|
+
state1.merge(numbered_state)
|
240
|
+
assert_equal '1', state1.indent
|
241
|
+
assert_equal '2', state1.space
|
242
|
+
assert_equal '3', state1.space_before
|
243
|
+
assert_equal '4', state1.object_nl
|
244
|
+
assert_equal '5', state1.array_nl
|
245
|
+
state2 = JSON.state.new
|
246
|
+
state2.configure(numbered_state)
|
247
|
+
assert_equal '1', state2.indent
|
248
|
+
assert_equal '2', state2.space
|
249
|
+
assert_equal '3', state2.space_before
|
250
|
+
assert_equal '4', state2.object_nl
|
251
|
+
assert_equal '5', state2.array_nl
|
252
|
+
end
|
253
|
+
|
230
254
|
if defined?(JSON::Ext::Generator)
|
231
255
|
def test_broken_bignum # [ruby-core:38867]
|
232
256
|
pid = fork do
|
@@ -248,4 +272,28 @@ EOT
|
|
248
272
|
# introducing race conditions of tests are run in parallel
|
249
273
|
end
|
250
274
|
end
|
275
|
+
|
276
|
+
def test_hash_likeness_set_symbol
|
277
|
+
state = JSON.state.new
|
278
|
+
assert_equal nil, state[:foo]
|
279
|
+
assert_equal nil, state['foo']
|
280
|
+
state[:foo] = :bar
|
281
|
+
assert_equal :bar, state[:foo]
|
282
|
+
assert_equal :bar, state['foo']
|
283
|
+
state_hash = state.to_hash
|
284
|
+
assert_kind_of Hash, state_hash
|
285
|
+
assert_equal :bar, state_hash[:foo]
|
286
|
+
end
|
287
|
+
|
288
|
+
def test_hash_likeness_set_string
|
289
|
+
state = JSON.state.new
|
290
|
+
assert_equal nil, state[:foo]
|
291
|
+
assert_equal nil, state['foo']
|
292
|
+
state['foo'] = :bar
|
293
|
+
assert_equal :bar, state[:foo]
|
294
|
+
assert_equal :bar, state['foo']
|
295
|
+
state_hash = state.to_hash
|
296
|
+
assert_kind_of Hash, state_hash
|
297
|
+
assert_equal :bar, state_hash[:foo]
|
298
|
+
end
|
251
299
|
end
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
|
-
#
|
2
|
+
# encoding: utf-8
|
3
3
|
|
4
4
|
require 'test/unit'
|
5
5
|
require File.join(File.dirname(__FILE__), 'setup_variant')
|
@@ -32,4 +32,15 @@ class TestJSONGenericObject < Test::Unit::TestCase
|
|
32
32
|
l = JSON('{ "a": { "b": 2 } }', :object_class => GenericObject)
|
33
33
|
assert_equal 2, l.a.b
|
34
34
|
end
|
35
|
+
|
36
|
+
def test_from_hash
|
37
|
+
result = GenericObject.from_hash(
|
38
|
+
:foo => { :bar => { :baz => true }, :quux => [ { :foobar => true } ] })
|
39
|
+
assert_kind_of GenericObject, result.foo
|
40
|
+
assert_kind_of GenericObject, result.foo.bar
|
41
|
+
assert_equal true, result.foo.bar.baz
|
42
|
+
assert_kind_of GenericObject, result.foo.quux.first
|
43
|
+
assert_equal true, result.foo.quux.first.foobar
|
44
|
+
assert_equal true, GenericObject.from_hash(true)
|
45
|
+
end
|
35
46
|
end
|
data/tests/test_json_unicode.rb
CHANGED
metadata
CHANGED
@@ -1,122 +1,115 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: json
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
prerelease:
|
5
|
-
version: 1.7.
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
prerelease:
|
5
|
+
version: 1.7.6
|
6
6
|
platform: java
|
7
|
-
authors:
|
8
|
-
|
9
|
-
autorequire:
|
7
|
+
authors:
|
8
|
+
- Daniel Luz
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
date: 2012-08-17 00:00:00 Z
|
12
|
+
date: 2012-12-31 00:00:00.000000000 Z
|
14
13
|
dependencies: []
|
15
|
-
|
16
14
|
description: A JSON implementation as a JRuby extension.
|
17
15
|
email: dev+ruby@mernen.com
|
18
16
|
executables: []
|
19
|
-
|
20
17
|
extensions: []
|
21
|
-
|
22
18
|
extra_rdoc_files: []
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
- tests/fixtures/pass3.json
|
19
|
+
files:
|
20
|
+
- lib/json.rb
|
21
|
+
- lib/json/version.rb
|
22
|
+
- lib/json/common.rb
|
23
|
+
- lib/json/ext.rb
|
24
|
+
- lib/json/pure.rb
|
25
|
+
- lib/json/generic_object.rb
|
26
|
+
- lib/json/add/symbol.rb
|
27
|
+
- lib/json/add/struct.rb
|
28
|
+
- lib/json/add/complex.rb
|
29
|
+
- lib/json/add/rational.rb
|
30
|
+
- lib/json/add/exception.rb
|
31
|
+
- lib/json/add/time.rb
|
32
|
+
- lib/json/add/bigdecimal.rb
|
33
|
+
- lib/json/add/date_time.rb
|
34
|
+
- lib/json/add/core.rb
|
35
|
+
- lib/json/add/range.rb
|
36
|
+
- lib/json/add/date.rb
|
37
|
+
- lib/json/add/regexp.rb
|
38
|
+
- lib/json/add/ostruct.rb
|
39
|
+
- lib/json/pure/generator.rb
|
40
|
+
- lib/json/pure/parser.rb
|
41
|
+
- lib/json/ext/generator.jar
|
42
|
+
- lib/json/ext/parser.jar
|
43
|
+
- tests/test_json_string_matching.rb
|
44
|
+
- tests/test_json_fixtures.rb
|
45
|
+
- tests/setup_variant.rb
|
46
|
+
- tests/test_json_unicode.rb
|
47
|
+
- tests/test_json_addition.rb
|
48
|
+
- tests/test_json_generate.rb
|
49
|
+
- tests/test_json_encoding.rb
|
50
|
+
- tests/test_json_generic_object.rb
|
51
|
+
- tests/test_json.rb
|
52
|
+
- tests/fixtures/fail6.json
|
53
|
+
- tests/fixtures/fail9.json
|
54
|
+
- tests/fixtures/fail10.json
|
55
|
+
- tests/fixtures/fail24.json
|
56
|
+
- tests/fixtures/fail28.json
|
57
|
+
- tests/fixtures/fail13.json
|
58
|
+
- tests/fixtures/fail4.json
|
59
|
+
- tests/fixtures/pass3.json
|
60
|
+
- tests/fixtures/fail11.json
|
61
|
+
- tests/fixtures/fail14.json
|
62
|
+
- tests/fixtures/fail3.json
|
63
|
+
- tests/fixtures/fail12.json
|
64
|
+
- tests/fixtures/pass16.json
|
65
|
+
- tests/fixtures/pass15.json
|
66
|
+
- tests/fixtures/fail20.json
|
67
|
+
- tests/fixtures/fail8.json
|
68
|
+
- tests/fixtures/pass2.json
|
69
|
+
- tests/fixtures/fail5.json
|
70
|
+
- tests/fixtures/fail1.json
|
71
|
+
- tests/fixtures/fail25.json
|
72
|
+
- tests/fixtures/pass17.json
|
73
|
+
- tests/fixtures/fail7.json
|
74
|
+
- tests/fixtures/pass26.json
|
75
|
+
- tests/fixtures/fail21.json
|
76
|
+
- tests/fixtures/pass1.json
|
77
|
+
- tests/fixtures/fail23.json
|
78
|
+
- tests/fixtures/fail18.json
|
79
|
+
- tests/fixtures/fail2.json
|
80
|
+
- tests/fixtures/fail22.json
|
81
|
+
- tests/fixtures/fail27.json
|
82
|
+
- tests/fixtures/fail19.json
|
88
83
|
homepage: http://json-jruby.rubyforge.org/
|
89
84
|
licenses: []
|
90
|
-
|
91
|
-
post_install_message:
|
85
|
+
post_install_message:
|
92
86
|
rdoc_options: []
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
87
|
+
require_paths:
|
88
|
+
- lib
|
89
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
90
|
+
requirements:
|
91
|
+
- - ! '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
segments:
|
94
|
+
- 0
|
95
|
+
hash: 2
|
96
|
+
version: !binary |-
|
97
|
+
MA==
|
97
98
|
none: false
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
99
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ! '>='
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
segments:
|
104
|
+
- 0
|
105
|
+
hash: 2
|
106
|
+
version: !binary |-
|
107
|
+
MA==
|
106
108
|
none: false
|
107
|
-
requirements:
|
108
|
-
- - ">="
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
hash: 2
|
111
|
-
segments:
|
112
|
-
- 0
|
113
|
-
version: "0"
|
114
109
|
requirements: []
|
115
|
-
|
116
110
|
rubyforge_project: json-jruby
|
117
111
|
rubygems_version: 1.8.24
|
118
|
-
signing_key:
|
112
|
+
signing_key:
|
119
113
|
specification_version: 3
|
120
114
|
summary: JSON implementation for JRuby
|
121
115
|
test_files: []
|
122
|
-
|