🐛 fix bug in diff function #1983
This commit is contained in:
		
							parent
							
								
									b7be613b6e
								
							
						
					
					
						commit
						dd04a32918
					
				
					 3 changed files with 10 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -22741,7 +22741,7 @@ class basic_json
 | 
			
		|||
                    result.push_back(
 | 
			
		||||
                    {
 | 
			
		||||
                        {"op", "add"},
 | 
			
		||||
                        {"path", path + "/" + std::to_string(i)},
 | 
			
		||||
                        {"path", path + "/-"},
 | 
			
		||||
                        {"value", target[i]}
 | 
			
		||||
                    });
 | 
			
		||||
                    ++i;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue