...

Text file src/github.com/google/flatbuffers/tests/optional_scalars_defaults.json

Documentation: github.com/google/flatbuffers/tests

     1{
     2  just_i8: 4,
     3  maybe_i8: null,
     4  default_i8: 42,
     5  just_u8: 0,
     6  maybe_u8: 0,
     7  default_u8: 0,
     8  just_i16: 4,
     9  maybe_i16: null,
    10  default_i16: 42,
    11  just_u16: 0,
    12  maybe_u16: 0,
    13  default_u16: 0,
    14  just_i32: 4,
    15  maybe_i32: null,
    16  default_i32: 42,
    17  just_u32: 0,
    18  maybe_u32: 0,
    19  default_u32: 0,
    20  just_i64: 4,
    21  maybe_i64: null,
    22  default_i64: 42,
    23  just_u64: 0,
    24  maybe_u64: 0,
    25  default_u64: 0,
    26  just_f32: 4.0,
    27  maybe_f32: null,
    28  default_f32: 42.0,
    29  just_f64: 0.0,
    30  maybe_f64: 0.0,
    31  default_f64: 0.0,
    32  just_bool: true,
    33  maybe_bool: null,
    34  default_bool: false,
    35  just_enum: "None",
    36  maybe_enum: "One",
    37  default_enum: "Two"
    38}

View as plain text