Add ids to flatbuffer fields in y2012, y2016, frc971, and aos
Change-Id: I9ed9006ce6224e2df0459df47771786b928164a1
diff --git a/aos/json_to_flatbuffer.fbs b/aos/json_to_flatbuffer.fbs
index ad2c901..7ce9ae6 100644
--- a/aos/json_to_flatbuffer.fbs
+++ b/aos/json_to_flatbuffer.fbs
@@ -22,30 +22,30 @@
}
table Location {
- name:string;
- type:string;
- frequency:int;
- max_size:int;
+ name:string (id: 0);
+ type:string (id: 1);
+ frequency:int (id: 2);
+ max_size:int (id: 3);
}
table Map {
- match:Location;
- rename:Location;
+ match:Location (id: 0);
+ rename:Location (id: 1);
}
table Application {
- name:string;
- priority:int;
- maps:[Map];
- long_thingy:uint64;
+ name:string (id: 0);
+ priority:int (id: 1);
+ maps:[Map] (id: 2);
+ long_thingy:uint64 (id: 3);
}
table VectorOfStrings {
- str:[string];
+ str:[string] (id: 0);
}
table VectorOfVectorOfString {
- v:[VectorOfStrings];
+ v:[VectorOfStrings] (id: 0);
}
struct FooStructNested {