```rust
let to_encode_object = TestStruct1 {
    dataInt: 1, dataStr: ~"toto", dataArray: ~[2,3,4,5]
};
```