Properly serialize zero-value messages in a oneof group (#176)
Also improve test utils to make it easier to have multiple json examples. Co-authored-by: Christopher Chambers <chris@peanutcode.com>
This commit is contained in:
		
							
								
								
									
										3
									
								
								tests/inputs/oneof_empty/oneof_empty.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								tests/inputs/oneof_empty/oneof_empty.json
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,3 @@ | ||||
| { | ||||
|   "nothing": {} | ||||
| } | ||||
		Reference in New Issue
	
	Block a user