Created
September 21, 2019 07:09
-
-
Save Fokko/4f8c5c4e9be2f32031ad51697244e451 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Expected: [{ | |
"name": "Alyssa", | |
"favorite_number": 256, | |
"favorite_color": null, | |
"type_long_test": null, | |
"type_double_test": 123.45, | |
"type_null_test": null, | |
"type_bool_test": true, | |
"type_array_string": ["ELEMENT 1", "ELEMENT 2"], | |
"type_array_boolean": [true, false], | |
"type_nullable_array": null, | |
"type_enum": "GREEN", | |
"type_map": { | |
"hehe": 12 | |
}, | |
"type_fixed": null, | |
"type_union": null, | |
"type_nested": { | |
"num": 239, | |
"street": "Baker Street", | |
"city": "London", | |
"state": "London", | |
"zip": "NW1 6XE" | |
}, | |
"type_bytes": { | |
"bytes": "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" | |
}, | |
"type_date": 2014 - 03 - 01, | |
"type_time_millis": 12: 12: 12.000, | |
"type_time_micros": 123456, | |
"type_timestamp_millis": 2014 - 03 - 01 T12: 12: 12.321 Z, | |
"type_timestamp_micros": 123456, | |
"type_decimal_bytes": { | |
"bytes": "\u0007Ð" | |
}, | |
"type_decimal_fixed": [7, -48] | |
}, { | |
"name": "Charlie", | |
"favorite_number": null, | |
"favorite_color": "blue", | |
"type_long_test": 1337, | |
"type_double_test": 1.337, | |
"type_null_test": null, | |
"type_bool_test": false, | |
"type_array_string": [], | |
"type_array_boolean": [], | |
"type_nullable_array": null, | |
"type_enum": "RED", | |
"type_map": { | |
"hehe": 12 | |
}, | |
"type_fixed": null, | |
"type_union": null, | |
"type_nested": { | |
"num": 239, | |
"street": "Baker Street", | |
"city": "London", | |
"state": "London", | |
"zip": "NW1 6XE" | |
}, | |
"type_bytes": { | |
"bytes": "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000" | |
}, | |
"type_date": 2014 - 03 - 01, | |
"type_time_millis": 12: 12: 12.000, | |
"type_time_micros": 123456, | |
"type_timestamp_millis": 2014 - 03 - 01 T12: 12: 12.321 Z, | |
"type_timestamp_micros": 123456, | |
"type_decimal_bytes": { | |
"bytes": "\u0007Ð" | |
}, | |
"type_decimal_fixed": [7, -48] | |
}] | |
Recieved: [{ | |
"name": "Alyssa", | |
"favorite_number": 256, | |
"favorite_color": null, | |
"type_long_test": null, | |
"type_double_test": 123.45, | |
"type_null_test": null, | |
"type_bool_test": true, | |
"type_array_string": ["ELEMENT 1", "ELEMENT 2"], | |
"type_array_boolean": [true, false], | |
"type_nullable_array": null, | |
"type_enum": "GREEN", | |
"type_map": { | |
"hehe": 12 | |
}, | |
"type_fixed": null, | |
"type_union": null, | |
"type_nested": { | |
"num": 239, | |
"street": "Baker Street", | |
"city": "London", | |
"state": "London", | |
"zip": "NW1 6XE" | |
}, | |
"type_bytes": "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000", | |
"type_date": 2014 - 03 - 01, | |
"type_time_millis": 12: 12: 12, | |
"type_time_micros": 123456, | |
"type_timestamp_millis": 2014 - 03 - 01 T12: 12: 12.321 Z, | |
"type_timestamp_micros": 1970 - 01 - 01 T00: 02: 03.456 Z, | |
"type_decimal_bytes": "\u0007Ð", | |
"type_decimal_fixed": [7, -48] | |
}, { | |
"name": "Charlie", | |
"favorite_number": null, | |
"favorite_color": "blue", | |
"type_long_test": 1337, | |
"type_double_test": 1.337, | |
"type_null_test": null, | |
"type_bool_test": false, | |
"type_array_string": [], | |
"type_array_boolean": [], | |
"type_nullable_array": null, | |
"type_enum": "RED", | |
"type_map": { | |
"hehe": 12 | |
}, | |
"type_fixed": null, | |
"type_union": null, | |
"type_nested": { | |
"num": 239, | |
"street": "Baker Street", | |
"city": "London", | |
"state": "London", | |
"zip": "NW1 6XE" | |
}, | |
"type_bytes": "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000", | |
"type_date": 2014 - 03 - 01, | |
"type_time_millis": 12: 12: 12, | |
"type_time_micros": 123456, | |
"type_timestamp_millis": 2014 - 03 - 01 T12: 12: 12.321 Z, | |
"type_timestamp_micros": 1970 - 01 - 01 T00: 02: 03.456 Z, | |
"type_decimal_bytes": "\u0007Ð", | |
"type_decimal_fixed": [7, -48] | |
}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment