Re-sync with internal repository
[hiphop-php.git] / third-party / thrift / src / thrift / compiler / test / fixtures / no-legacy-apis / gen-json / thrift.json
blob69040690dd7dca3c2e3c8c9e76a7c86ec2ff3c5e
2   "__fbthrift": {"@generated": 0},
3   "thrift_module" : "thrift",
4   "structs" : {
5     "Beta" : {
6       "lineno" : 31,
7       "is_exception" : false,
8       "is_union" : false,
9       "fields" : {
11       },
12       "source_range" : {
13         "begin" : {
14           "line" : 31,
15           "column" : 1
16         },
17         "end" : {
18           "line" : 33,
19           "column" : 15
20         }
21       }
22     },
23     "Experimental" : {
24       "lineno" : 39,
25       "is_exception" : false,
26       "is_union" : false,
27       "fields" : {
29       },
30       "source_range" : {
31         "begin" : {
32           "line" : 39,
33           "column" : 1
34         },
35         "end" : {
36           "line" : 41,
37           "column" : 23
38         }
39       }
40     },
41     "Testing" : {
42       "lineno" : 51,
43       "is_exception" : false,
44       "is_union" : false,
45       "fields" : {
47       },
48       "source_range" : {
49         "begin" : {
50           "line" : 51,
51           "column" : 1
52         },
53         "end" : {
54           "line" : 53,
55           "column" : 18
56         }
57       }
58     },
59     "Deprecated" : {
60       "lineno" : 58,
61       "is_exception" : false,
62       "is_union" : false,
63       "fields" : {
64         "message" : {
65           "type_enum" : "STRING",
66           "spec_args" : null,
67           "required" : true,
68           "source_range" : {
69             "begin" : {
70               "line" : 62,
71               "column" : 3
72             },
73             "end" : {
74               "line" : 62,
75               "column" : 21
76             }
77           }
78         }
79       },
80       "source_range" : {
81         "begin" : {
82           "line" : 58,
83           "column" : 1
84         },
85         "end" : {
86           "line" : 63,
87           "column" : 2
88         }
89       }
90     },
91     "ReserveIds" : {
92       "lineno" : 78,
93       "is_exception" : false,
94       "is_union" : false,
95       "fields" : {
96         "ids" : {
97           "type_enum" : "LIST",
98           "spec_args" : { "type_enum" : "I32", "spec_args" : null} ,
99           "required" : true,
100           "source_range" : {
101             "begin" : {
102               "line" : 82,
103               "column" : 3
104             },
105             "end" : {
106               "line" : 82,
107               "column" : 20
108             }
109           }
110         },
111         "id_ranges" : {
112           "type_enum" : "MAP",
113           "spec_args" : { "key_type" : { "type_enum" : "I32", "spec_args" : null }, "val_type" : { "type_enum" : "I32", "spec_args" : null} } ,
114           "required" : true,
115           "source_range" : {
116             "begin" : {
117               "line" : 87,
118               "column" : 3
119             },
120             "end" : {
121               "line" : 87,
122               "column" : 30
123             }
124           }
125         }
126       },
127       "source_range" : {
128         "begin" : {
129           "line" : 78,
130           "column" : 1
131         },
132         "end" : {
133           "line" : 88,
134           "column" : 2
135         }
136       }
137     },
138     "Legacy" : {
139       "lineno" : 97,
140       "is_exception" : false,
141       "is_union" : false,
142       "fields" : {
143         "message" : {
144           "type_enum" : "STRING",
145           "spec_args" : null,
146           "required" : true,
147           "source_range" : {
148             "begin" : {
149               "line" : 100,
150               "column" : 3
151             },
152             "end" : {
153               "line" : 100,
154               "column" : 21
155             }
156           }
157         }
158       },
159       "source_range" : {
160         "begin" : {
161           "line" : 97,
162           "column" : 1
163         },
164         "end" : {
165           "line" : 101,
166           "column" : 2
167         }
168       }
169     },
170     "RequiresBackwardCompatibility" : {
171       "lineno" : 108,
172       "is_exception" : false,
173       "is_union" : false,
174       "fields" : {
175         "field_name" : {
176           "type_enum" : "BOOL",
177           "spec_args" : null,
178           "required" : true,
179           "default_value" : false,
180           "source_range" : {
181             "begin" : {
182               "line" : 111,
183               "column" : 3
184             },
185             "end" : {
186               "line" : 111,
187               "column" : 30
188             }
189           }
190         }
191       },
192       "source_range" : {
193         "begin" : {
194           "line" : 108,
195           "column" : 1
196         },
197         "end" : {
198           "line" : 112,
199           "column" : 2
200         }
201       }
202     },
203     "NoExperimental" : {
204       "lineno" : 115,
205       "is_exception" : false,
206       "is_union" : false,
207       "fields" : {
209       },
210       "source_range" : {
211         "begin" : {
212           "line" : 115,
213           "column" : 1
214         },
215         "end" : {
216           "line" : 117,
217           "column" : 25
218         }
219       }
220     },
221     "NoBeta" : {
222       "lineno" : 120,
223       "is_exception" : false,
224       "is_union" : false,
225       "fields" : {
227       },
228       "source_range" : {
229         "begin" : {
230           "line" : 120,
231           "column" : 1
232         },
233         "end" : {
234           "line" : 122,
235           "column" : 17
236         }
237       }
238     },
239     "NoLegacy" : {
240       "lineno" : 129,
241       "is_exception" : false,
242       "is_union" : false,
243       "fields" : {
245       },
246       "source_range" : {
247         "begin" : {
248           "line" : 129,
249           "column" : 1
250         },
251         "end" : {
252           "line" : 132,
253           "column" : 19
254         }
255       }
256     },
257     "NoDeprecated" : {
258       "lineno" : 141,
259       "is_exception" : false,
260       "is_union" : false,
261       "fields" : {
263       },
264       "source_range" : {
265         "begin" : {
266           "line" : 141,
267           "column" : 1
268         },
269         "end" : {
270           "line" : 144,
271           "column" : 23
272         }
273       }
274     },
275     "TerseWrite" : {
276       "lineno" : 164,
277       "is_exception" : false,
278       "is_union" : false,
279       "fields" : {
281       },
282       "source_range" : {
283         "begin" : {
284           "line" : 164,
285           "column" : 1
286         },
287         "end" : {
288           "line" : 169,
289           "column" : 21
290         }
291       }
292     },
293     "Box" : {
294       "lineno" : 172,
295       "is_exception" : false,
296       "is_union" : false,
297       "fields" : {
299       },
300       "source_range" : {
301         "begin" : {
302           "line" : 172,
303           "column" : 1
304         },
305         "end" : {
306           "line" : 174,
307           "column" : 14
308         }
309       }
310     },
311     "Mixin" : {
312       "lineno" : 177,
313       "is_exception" : false,
314       "is_union" : false,
315       "fields" : {
317       },
318       "source_range" : {
319         "begin" : {
320           "line" : 177,
321           "column" : 1
322         },
323         "end" : {
324           "line" : 179,
325           "column" : 16
326         }
327       }
328     },
329     "SerializeInFieldIdOrder" : {
330       "lineno" : 187,
331       "is_exception" : false,
332       "is_union" : false,
333       "fields" : {
335       },
336       "source_range" : {
337         "begin" : {
338           "line" : 187,
339           "column" : 1
340         },
341         "end" : {
342           "line" : 189,
343           "column" : 34
344         }
345       }
346     },
347     "GenDefaultEnumValue" : {
348       "lineno" : 202,
349       "is_exception" : false,
350       "is_union" : false,
351       "fields" : {
352         "name" : {
353           "type_enum" : "STRING",
354           "spec_args" : null,
355           "required" : true,
356           "default_value" : "Unspecified",
357           "source_range" : {
358             "begin" : {
359               "line" : 219,
360               "column" : 3
361             },
362             "end" : {
363               "line" : 219,
364               "column" : 34
365             }
366           }
367         }
368       },
369       "source_range" : {
370         "begin" : {
371           "line" : 202,
372           "column" : 1
373         },
374         "end" : {
375           "line" : 220,
376           "column" : 2
377         }
378       }
379     },
380     "v1" : {
381       "lineno" : 228,
382       "is_exception" : false,
383       "is_union" : false,
384       "fields" : {
386       },
387       "source_range" : {
388         "begin" : {
389           "line" : 228,
390           "column" : 1
391         },
392         "end" : {
393           "line" : 229,
394           "column" : 13
395         }
396       }
397     },
398     "v1beta" : {
399       "lineno" : 238,
400       "is_exception" : false,
401       "is_union" : false,
402       "fields" : {
404       },
405       "source_range" : {
406         "begin" : {
407           "line" : 238,
408           "column" : 1
409         },
410         "end" : {
411           "line" : 244,
412           "column" : 17
413         }
414       }
415     },
416     "v1alpha" : {
417       "lineno" : 253,
418       "is_exception" : false,
419       "is_union" : false,
420       "fields" : {
422       },
423       "source_range" : {
424         "begin" : {
425           "line" : 253,
426           "column" : 1
427         },
428         "end" : {
429           "line" : 257,
430           "column" : 18
431         }
432       }
433     },
434     "v1test" : {
435       "lineno" : 263,
436       "is_exception" : false,
437       "is_union" : false,
438       "fields" : {
440       },
441       "source_range" : {
442         "begin" : {
443           "line" : 263,
444           "column" : 1
445         },
446         "end" : {
447           "line" : 267,
448           "column" : 17
449         }
450       }
451     },
452     "ExceptionMessage" : {
453       "lineno" : 274,
454       "is_exception" : false,
455       "is_union" : false,
456       "fields" : {
457         "field" : {
458           "type_enum" : "STRING",
459           "spec_args" : null,
460           "required" : true,
461           "source_range" : {
462             "begin" : {
463               "line" : 276,
464               "column" : 3
465             },
466             "end" : {
467               "line" : 276,
468               "column" : 19
469             }
470           }
471         }
472       },
473       "source_range" : {
474         "begin" : {
475           "line" : 274,
476           "column" : 1
477         },
478         "end" : {
479           "line" : 277,
480           "column" : 2
481         }
482       }
483     },
484     "BitmaskEnum" : {
485       "lineno" : 283,
486       "is_exception" : false,
487       "is_union" : false,
488       "fields" : {
490       },
491       "source_range" : {
492         "begin" : {
493           "line" : 283,
494           "column" : 1
495         },
496         "end" : {
497           "line" : 284,
498           "column" : 22
499         }
500       }
501     },
502     "GenerateRuntimeSchema" : {
503       "lineno" : 290,
504       "is_exception" : false,
505       "is_union" : false,
506       "fields" : {
507         "name" : {
508           "type_enum" : "STRING",
509           "spec_args" : null,
510           "required" : true,
511           "source_range" : {
512             "begin" : {
513               "line" : 293,
514               "column" : 3
515             },
516             "end" : {
517               "line" : 293,
518               "column" : 18
519             }
520           }
521         }
522       },
523       "source_range" : {
524         "begin" : {
525           "line" : 290,
526           "column" : 1
527         },
528         "end" : {
529           "line" : 294,
530           "column" : 2
531         }
532       }
533     }
534   }