fizx-ordered_json 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (89) hide show
  1. data/.gitignore +29 -0
  2. data/CHANGELOG +22 -0
  3. data/README +4 -0
  4. data/Rakefile +35 -0
  5. data/ext/Makefile +149 -0
  6. data/ext/json-c-0.8/AUTHORS +2 -0
  7. data/ext/json-c-0.8/COPYING +19 -0
  8. data/ext/json-c-0.8/ChangeLog +73 -0
  9. data/ext/json-c-0.8/INSTALL +229 -0
  10. data/ext/json-c-0.8/Makefile.am +43 -0
  11. data/ext/json-c-0.8/Makefile.in +734 -0
  12. data/ext/json-c-0.8/NEWS +1 -0
  13. data/ext/json-c-0.8/README +20 -0
  14. data/ext/json-c-0.8/aclocal.m4 +8794 -0
  15. data/ext/json-c-0.8/arraylist.c +93 -0
  16. data/ext/json-c-0.8/arraylist.h +45 -0
  17. data/ext/json-c-0.8/bits.h +27 -0
  18. data/ext/json-c-0.8/config.guess +1526 -0
  19. data/ext/json-c-0.8/config.h.in +121 -0
  20. data/ext/json-c-0.8/config.sub +1658 -0
  21. data/ext/json-c-0.8/configure +14243 -0
  22. data/ext/json-c-0.8/configure.in +33 -0
  23. data/ext/json-c-0.8/debug.c +98 -0
  24. data/ext/json-c-0.8/debug.h +42 -0
  25. data/ext/json-c-0.8/depcomp +530 -0
  26. data/ext/json-c-0.8/doc/html/annotated.html +40 -0
  27. data/ext/json-c-0.8/doc/html/arraylist_8h.html +234 -0
  28. data/ext/json-c-0.8/doc/html/bits_8h.html +144 -0
  29. data/ext/json-c-0.8/doc/html/config_8h.html +606 -0
  30. data/ext/json-c-0.8/doc/html/debug_8h.html +386 -0
  31. data/ext/json-c-0.8/doc/html/doxygen.css +473 -0
  32. data/ext/json-c-0.8/doc/html/doxygen.png +0 -0
  33. data/ext/json-c-0.8/doc/html/files.html +42 -0
  34. data/ext/json-c-0.8/doc/html/functions.html +206 -0
  35. data/ext/json-c-0.8/doc/html/functions_vars.html +206 -0
  36. data/ext/json-c-0.8/doc/html/globals.html +445 -0
  37. data/ext/json-c-0.8/doc/html/globals_defs.html +200 -0
  38. data/ext/json-c-0.8/doc/html/globals_enum.html +50 -0
  39. data/ext/json-c-0.8/doc/html/globals_eval.html +135 -0
  40. data/ext/json-c-0.8/doc/html/globals_func.html +194 -0
  41. data/ext/json-c-0.8/doc/html/globals_type.html +58 -0
  42. data/ext/json-c-0.8/doc/html/globals_vars.html +50 -0
  43. data/ext/json-c-0.8/doc/html/index.html +25 -0
  44. data/ext/json-c-0.8/doc/html/json_8h.html +26 -0
  45. data/ext/json-c-0.8/doc/html/json__object_8h.html +1042 -0
  46. data/ext/json-c-0.8/doc/html/json__object__private_8h.html +69 -0
  47. data/ext/json-c-0.8/doc/html/json__tokener_8h.html +360 -0
  48. data/ext/json-c-0.8/doc/html/json__util_8h.html +100 -0
  49. data/ext/json-c-0.8/doc/html/linkhash_8h.html +734 -0
  50. data/ext/json-c-0.8/doc/html/printbuf_8h.html +171 -0
  51. data/ext/json-c-0.8/doc/html/structarray__list.html +104 -0
  52. data/ext/json-c-0.8/doc/html/structjson__object.html +141 -0
  53. data/ext/json-c-0.8/doc/html/structjson__object__iter.html +87 -0
  54. data/ext/json-c-0.8/doc/html/structjson__tokener.html +206 -0
  55. data/ext/json-c-0.8/doc/html/structjson__tokener__srec.html +104 -0
  56. data/ext/json-c-0.8/doc/html/structlh__entry.html +105 -0
  57. data/ext/json-c-0.8/doc/html/structlh__table.html +275 -0
  58. data/ext/json-c-0.8/doc/html/structprintbuf.html +87 -0
  59. data/ext/json-c-0.8/doc/html/tab_b.gif +0 -0
  60. data/ext/json-c-0.8/doc/html/tab_l.gif +0 -0
  61. data/ext/json-c-0.8/doc/html/tab_r.gif +0 -0
  62. data/ext/json-c-0.8/doc/html/tabs.css +102 -0
  63. data/ext/json-c-0.8/doc/html/unionjson__object_1_1data.html +140 -0
  64. data/ext/json-c-0.8/install-sh +519 -0
  65. data/ext/json-c-0.8/json.h +31 -0
  66. data/ext/json-c-0.8/json.pc.in +11 -0
  67. data/ext/json-c-0.8/json_object.c +511 -0
  68. data/ext/json-c-0.8/json_object.h +310 -0
  69. data/ext/json-c-0.8/json_object_private.h +44 -0
  70. data/ext/json-c-0.8/json_tokener.c +517 -0
  71. data/ext/json-c-0.8/json_tokener.h +90 -0
  72. data/ext/json-c-0.8/json_util.c +122 -0
  73. data/ext/json-c-0.8/json_util.h +23 -0
  74. data/ext/json-c-0.8/linkhash.c +218 -0
  75. data/ext/json-c-0.8/linkhash.h +264 -0
  76. data/ext/json-c-0.8/ltmain.sh +7880 -0
  77. data/ext/json-c-0.8/missing +360 -0
  78. data/ext/json-c-0.8/printbuf.c +145 -0
  79. data/ext/json-c-0.8/printbuf.h +38 -0
  80. data/ext/json-c-0.8/test1.c +164 -0
  81. data/ext/json-c-0.8/test2.c +20 -0
  82. data/ext/json-c-0.8/test3.c +22 -0
  83. data/ext/ordered_json_c.c +199 -0
  84. data/lib/ordered_json.rb +26 -0
  85. data/ordered_json.gemspec +102 -0
  86. data/test/crashing_example.rb +1 -0
  87. data/test/ordered_json_test.rb +86 -0
  88. data/test/pretty.json +11 -0
  89. metadata +91 -50
@@ -0,0 +1,473 @@
1
+ BODY,H1,H2,H3,H4,H5,H6,P,CENTER,TD,TH,UL,DL,DIV {
2
+ font-family: Geneva, Arial, Helvetica, sans-serif;
3
+ }
4
+ BODY,TD {
5
+ font-size: 90%;
6
+ }
7
+ H1 {
8
+ text-align: center;
9
+ font-size: 160%;
10
+ }
11
+ H2 {
12
+ font-size: 120%;
13
+ }
14
+ H3 {
15
+ font-size: 100%;
16
+ }
17
+ CAPTION {
18
+ font-weight: bold
19
+ }
20
+ DIV.qindex {
21
+ width: 100%;
22
+ background-color: #e8eef2;
23
+ border: 1px solid #84b0c7;
24
+ text-align: center;
25
+ margin: 2px;
26
+ padding: 2px;
27
+ line-height: 140%;
28
+ }
29
+ DIV.navpath {
30
+ width: 100%;
31
+ background-color: #e8eef2;
32
+ border: 1px solid #84b0c7;
33
+ text-align: center;
34
+ margin: 2px;
35
+ padding: 2px;
36
+ line-height: 140%;
37
+ }
38
+ DIV.navtab {
39
+ background-color: #e8eef2;
40
+ border: 1px solid #84b0c7;
41
+ text-align: center;
42
+ margin: 2px;
43
+ margin-right: 15px;
44
+ padding: 2px;
45
+ }
46
+ TD.navtab {
47
+ font-size: 70%;
48
+ }
49
+ A.qindex {
50
+ text-decoration: none;
51
+ font-weight: bold;
52
+ color: #1A419D;
53
+ }
54
+ A.qindex:visited {
55
+ text-decoration: none;
56
+ font-weight: bold;
57
+ color: #1A419D
58
+ }
59
+ A.qindex:hover {
60
+ text-decoration: none;
61
+ background-color: #ddddff;
62
+ }
63
+ A.qindexHL {
64
+ text-decoration: none;
65
+ font-weight: bold;
66
+ background-color: #6666cc;
67
+ color: #ffffff;
68
+ border: 1px double #9295C2;
69
+ }
70
+ A.qindexHL:hover {
71
+ text-decoration: none;
72
+ background-color: #6666cc;
73
+ color: #ffffff;
74
+ }
75
+ A.qindexHL:visited {
76
+ text-decoration: none;
77
+ background-color: #6666cc;
78
+ color: #ffffff
79
+ }
80
+ A.el {
81
+ text-decoration: none;
82
+ font-weight: bold
83
+ }
84
+ A.elRef {
85
+ font-weight: bold
86
+ }
87
+ A.code:link {
88
+ text-decoration: none;
89
+ font-weight: normal;
90
+ color: #0000FF
91
+ }
92
+ A.code:visited {
93
+ text-decoration: none;
94
+ font-weight: normal;
95
+ color: #0000FF
96
+ }
97
+ A.codeRef:link {
98
+ font-weight: normal;
99
+ color: #0000FF
100
+ }
101
+ A.codeRef:visited {
102
+ font-weight: normal;
103
+ color: #0000FF
104
+ }
105
+ A:hover {
106
+ text-decoration: none;
107
+ background-color: #f2f2ff
108
+ }
109
+ DL.el {
110
+ margin-left: -1cm
111
+ }
112
+ .fragment {
113
+ font-family: monospace, fixed;
114
+ font-size: 95%;
115
+ }
116
+ PRE.fragment {
117
+ border: 1px solid #CCCCCC;
118
+ background-color: #f5f5f5;
119
+ margin-top: 4px;
120
+ margin-bottom: 4px;
121
+ margin-left: 2px;
122
+ margin-right: 8px;
123
+ padding-left: 6px;
124
+ padding-right: 6px;
125
+ padding-top: 4px;
126
+ padding-bottom: 4px;
127
+ }
128
+ DIV.ah {
129
+ background-color: black;
130
+ font-weight: bold;
131
+ color: #ffffff;
132
+ margin-bottom: 3px;
133
+ margin-top: 3px
134
+ }
135
+
136
+ DIV.groupHeader {
137
+ margin-left: 16px;
138
+ margin-top: 12px;
139
+ margin-bottom: 6px;
140
+ font-weight: bold;
141
+ }
142
+ DIV.groupText {
143
+ margin-left: 16px;
144
+ font-style: italic;
145
+ font-size: 90%
146
+ }
147
+ BODY {
148
+ background: white;
149
+ color: black;
150
+ margin-right: 20px;
151
+ margin-left: 20px;
152
+ }
153
+ TD.indexkey {
154
+ background-color: #e8eef2;
155
+ font-weight: bold;
156
+ padding-right : 10px;
157
+ padding-top : 2px;
158
+ padding-left : 10px;
159
+ padding-bottom : 2px;
160
+ margin-left : 0px;
161
+ margin-right : 0px;
162
+ margin-top : 2px;
163
+ margin-bottom : 2px;
164
+ border: 1px solid #CCCCCC;
165
+ }
166
+ TD.indexvalue {
167
+ background-color: #e8eef2;
168
+ font-style: italic;
169
+ padding-right : 10px;
170
+ padding-top : 2px;
171
+ padding-left : 10px;
172
+ padding-bottom : 2px;
173
+ margin-left : 0px;
174
+ margin-right : 0px;
175
+ margin-top : 2px;
176
+ margin-bottom : 2px;
177
+ border: 1px solid #CCCCCC;
178
+ }
179
+ TR.memlist {
180
+ background-color: #f0f0f0;
181
+ }
182
+ P.formulaDsp {
183
+ text-align: center;
184
+ }
185
+ IMG.formulaDsp {
186
+ }
187
+ IMG.formulaInl {
188
+ vertical-align: middle;
189
+ }
190
+ SPAN.keyword { color: #008000 }
191
+ SPAN.keywordtype { color: #604020 }
192
+ SPAN.keywordflow { color: #e08000 }
193
+ SPAN.comment { color: #800000 }
194
+ SPAN.preprocessor { color: #806020 }
195
+ SPAN.stringliteral { color: #002080 }
196
+ SPAN.charliteral { color: #008080 }
197
+ SPAN.vhdldigit { color: #ff00ff }
198
+ SPAN.vhdlchar { color: #000000 }
199
+ SPAN.vhdlkeyword { color: #700070 }
200
+ SPAN.vhdllogic { color: #ff0000 }
201
+
202
+ .mdescLeft {
203
+ padding: 0px 8px 4px 8px;
204
+ font-size: 80%;
205
+ font-style: italic;
206
+ background-color: #FAFAFA;
207
+ border-top: 1px none #E0E0E0;
208
+ border-right: 1px none #E0E0E0;
209
+ border-bottom: 1px none #E0E0E0;
210
+ border-left: 1px none #E0E0E0;
211
+ margin: 0px;
212
+ }
213
+ .mdescRight {
214
+ padding: 0px 8px 4px 8px;
215
+ font-size: 80%;
216
+ font-style: italic;
217
+ background-color: #FAFAFA;
218
+ border-top: 1px none #E0E0E0;
219
+ border-right: 1px none #E0E0E0;
220
+ border-bottom: 1px none #E0E0E0;
221
+ border-left: 1px none #E0E0E0;
222
+ margin: 0px;
223
+ }
224
+ .memItemLeft {
225
+ padding: 1px 0px 0px 8px;
226
+ margin: 4px;
227
+ border-top-width: 1px;
228
+ border-right-width: 1px;
229
+ border-bottom-width: 1px;
230
+ border-left-width: 1px;
231
+ border-top-color: #E0E0E0;
232
+ border-right-color: #E0E0E0;
233
+ border-bottom-color: #E0E0E0;
234
+ border-left-color: #E0E0E0;
235
+ border-top-style: solid;
236
+ border-right-style: none;
237
+ border-bottom-style: none;
238
+ border-left-style: none;
239
+ background-color: #FAFAFA;
240
+ font-size: 80%;
241
+ }
242
+ .memItemRight {
243
+ padding: 1px 8px 0px 8px;
244
+ margin: 4px;
245
+ border-top-width: 1px;
246
+ border-right-width: 1px;
247
+ border-bottom-width: 1px;
248
+ border-left-width: 1px;
249
+ border-top-color: #E0E0E0;
250
+ border-right-color: #E0E0E0;
251
+ border-bottom-color: #E0E0E0;
252
+ border-left-color: #E0E0E0;
253
+ border-top-style: solid;
254
+ border-right-style: none;
255
+ border-bottom-style: none;
256
+ border-left-style: none;
257
+ background-color: #FAFAFA;
258
+ font-size: 80%;
259
+ }
260
+ .memTemplItemLeft {
261
+ padding: 1px 0px 0px 8px;
262
+ margin: 4px;
263
+ border-top-width: 1px;
264
+ border-right-width: 1px;
265
+ border-bottom-width: 1px;
266
+ border-left-width: 1px;
267
+ border-top-color: #E0E0E0;
268
+ border-right-color: #E0E0E0;
269
+ border-bottom-color: #E0E0E0;
270
+ border-left-color: #E0E0E0;
271
+ border-top-style: none;
272
+ border-right-style: none;
273
+ border-bottom-style: none;
274
+ border-left-style: none;
275
+ background-color: #FAFAFA;
276
+ font-size: 80%;
277
+ }
278
+ .memTemplItemRight {
279
+ padding: 1px 8px 0px 8px;
280
+ margin: 4px;
281
+ border-top-width: 1px;
282
+ border-right-width: 1px;
283
+ border-bottom-width: 1px;
284
+ border-left-width: 1px;
285
+ border-top-color: #E0E0E0;
286
+ border-right-color: #E0E0E0;
287
+ border-bottom-color: #E0E0E0;
288
+ border-left-color: #E0E0E0;
289
+ border-top-style: none;
290
+ border-right-style: none;
291
+ border-bottom-style: none;
292
+ border-left-style: none;
293
+ background-color: #FAFAFA;
294
+ font-size: 80%;
295
+ }
296
+ .memTemplParams {
297
+ padding: 1px 0px 0px 8px;
298
+ margin: 4px;
299
+ border-top-width: 1px;
300
+ border-right-width: 1px;
301
+ border-bottom-width: 1px;
302
+ border-left-width: 1px;
303
+ border-top-color: #E0E0E0;
304
+ border-right-color: #E0E0E0;
305
+ border-bottom-color: #E0E0E0;
306
+ border-left-color: #E0E0E0;
307
+ border-top-style: solid;
308
+ border-right-style: none;
309
+ border-bottom-style: none;
310
+ border-left-style: none;
311
+ color: #606060;
312
+ background-color: #FAFAFA;
313
+ font-size: 80%;
314
+ }
315
+ .search {
316
+ color: #003399;
317
+ font-weight: bold;
318
+ }
319
+ FORM.search {
320
+ margin-bottom: 0px;
321
+ margin-top: 0px;
322
+ }
323
+ INPUT.search {
324
+ font-size: 75%;
325
+ color: #000080;
326
+ font-weight: normal;
327
+ background-color: #e8eef2;
328
+ }
329
+ TD.tiny {
330
+ font-size: 75%;
331
+ }
332
+ a {
333
+ color: #1A41A8;
334
+ }
335
+ a:visited {
336
+ color: #2A3798;
337
+ }
338
+ .dirtab {
339
+ padding: 4px;
340
+ border-collapse: collapse;
341
+ border: 1px solid #84b0c7;
342
+ }
343
+ TH.dirtab {
344
+ background: #e8eef2;
345
+ font-weight: bold;
346
+ }
347
+ HR {
348
+ height: 1px;
349
+ border: none;
350
+ border-top: 1px solid black;
351
+ }
352
+
353
+ /* Style for detailed member documentation */
354
+ .memtemplate {
355
+ font-size: 80%;
356
+ color: #606060;
357
+ font-weight: normal;
358
+ margin-left: 3px;
359
+ }
360
+ .memnav {
361
+ background-color: #e8eef2;
362
+ border: 1px solid #84b0c7;
363
+ text-align: center;
364
+ margin: 2px;
365
+ margin-right: 15px;
366
+ padding: 2px;
367
+ }
368
+ .memitem {
369
+ padding: 4px;
370
+ background-color: #eef3f5;
371
+ border-width: 1px;
372
+ border-style: solid;
373
+ border-color: #dedeee;
374
+ -moz-border-radius: 8px 8px 8px 8px;
375
+ }
376
+ .memname {
377
+ white-space: nowrap;
378
+ font-weight: bold;
379
+ }
380
+ .memdoc{
381
+ padding-left: 10px;
382
+ }
383
+ .memproto {
384
+ background-color: #d5e1e8;
385
+ width: 100%;
386
+ border-width: 1px;
387
+ border-style: solid;
388
+ border-color: #84b0c7;
389
+ font-weight: bold;
390
+ -moz-border-radius: 8px 8px 8px 8px;
391
+ }
392
+ .paramkey {
393
+ text-align: right;
394
+ }
395
+ .paramtype {
396
+ white-space: nowrap;
397
+ }
398
+ .paramname {
399
+ color: #602020;
400
+ font-style: italic;
401
+ white-space: nowrap;
402
+ }
403
+ /* End Styling for detailed member documentation */
404
+
405
+ /* for the tree view */
406
+ .ftvtree {
407
+ font-family: sans-serif;
408
+ margin:0.5em;
409
+ }
410
+ /* these are for tree view when used as main index */
411
+ .directory {
412
+ font-size: 9pt;
413
+ font-weight: bold;
414
+ }
415
+ .directory h3 {
416
+ margin: 0px;
417
+ margin-top: 1em;
418
+ font-size: 11pt;
419
+ }
420
+
421
+ /* The following two styles can be used to replace the root node title */
422
+ /* with an image of your choice. Simply uncomment the next two styles, */
423
+ /* specify the name of your image and be sure to set 'height' to the */
424
+ /* proper pixel height of your image. */
425
+
426
+ /* .directory h3.swap { */
427
+ /* height: 61px; */
428
+ /* background-repeat: no-repeat; */
429
+ /* background-image: url("yourimage.gif"); */
430
+ /* } */
431
+ /* .directory h3.swap span { */
432
+ /* display: none; */
433
+ /* } */
434
+
435
+ .directory > h3 {
436
+ margin-top: 0;
437
+ }
438
+ .directory p {
439
+ margin: 0px;
440
+ white-space: nowrap;
441
+ }
442
+ .directory div {
443
+ display: none;
444
+ margin: 0px;
445
+ }
446
+ .directory img {
447
+ vertical-align: -30%;
448
+ }
449
+ /* these are for tree view when not used as main index */
450
+ .directory-alt {
451
+ font-size: 100%;
452
+ font-weight: bold;
453
+ }
454
+ .directory-alt h3 {
455
+ margin: 0px;
456
+ margin-top: 1em;
457
+ font-size: 11pt;
458
+ }
459
+ .directory-alt > h3 {
460
+ margin-top: 0;
461
+ }
462
+ .directory-alt p {
463
+ margin: 0px;
464
+ white-space: nowrap;
465
+ }
466
+ .directory-alt div {
467
+ display: none;
468
+ margin: 0px;
469
+ }
470
+ .directory-alt img {
471
+ vertical-align: -30%;
472
+ }
473
+
Binary file
@@ -0,0 +1,42 @@
1
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
+ <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3
+ <title>json-c: File Index</title>
4
+ <link href="doxygen.css" rel="stylesheet" type="text/css">
5
+ <link href="tabs.css" rel="stylesheet" type="text/css">
6
+ </head><body>
7
+ <!-- Generated by Doxygen 1.5.6 -->
8
+ <div class="navigation" id="top">
9
+ <div class="tabs">
10
+ <ul>
11
+ <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
12
+ <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
13
+ <li class="current"><a href="files.html"><span>Files</span></a></li>
14
+ </ul>
15
+ </div>
16
+ <div class="tabs">
17
+ <ul>
18
+ <li class="current"><a href="files.html"><span>File&nbsp;List</span></a></li>
19
+ <li><a href="globals.html"><span>Globals</span></a></li>
20
+ </ul>
21
+ </div>
22
+ </div>
23
+ <div class="contents">
24
+ <h1>File List</h1>Here is a list of all files with brief descriptions:<table>
25
+ <tr><td class="indexkey"><a class="el" href="arraylist_8h.html">arraylist.h</a></td><td class="indexvalue"></td></tr>
26
+ <tr><td class="indexkey"><a class="el" href="bits_8h.html">bits.h</a></td><td class="indexvalue"></td></tr>
27
+ <tr><td class="indexkey"><a class="el" href="config_8h.html">config.h</a></td><td class="indexvalue"></td></tr>
28
+ <tr><td class="indexkey"><a class="el" href="debug_8h.html">debug.h</a></td><td class="indexvalue"></td></tr>
29
+ <tr><td class="indexkey"><a class="el" href="json_8h.html">json.h</a></td><td class="indexvalue"></td></tr>
30
+ <tr><td class="indexkey"><a class="el" href="json__object_8h.html">json_object.h</a></td><td class="indexvalue"></td></tr>
31
+ <tr><td class="indexkey"><a class="el" href="json__object__private_8h.html">json_object_private.h</a></td><td class="indexvalue"></td></tr>
32
+ <tr><td class="indexkey"><a class="el" href="json__tokener_8h.html">json_tokener.h</a></td><td class="indexvalue"></td></tr>
33
+ <tr><td class="indexkey"><a class="el" href="json__util_8h.html">json_util.h</a></td><td class="indexvalue"></td></tr>
34
+ <tr><td class="indexkey"><a class="el" href="linkhash_8h.html">linkhash.h</a></td><td class="indexvalue"></td></tr>
35
+ <tr><td class="indexkey"><a class="el" href="printbuf_8h.html">printbuf.h</a></td><td class="indexvalue"></td></tr>
36
+ </table>
37
+ </div>
38
+ <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jan 5 15:01:30 2009 for json-c by&nbsp;
39
+ <a href="http://www.doxygen.org/index.html">
40
+ <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address>
41
+ </body>
42
+ </html>