 
            
            
            
            
                22 Sep
                
                    2020
                
            
            
                22 Sep
                
                '20
                
            
            
            
        
    
                2:48 p.m.
            
        On 2020-09-22 14:20, Peter Dimov via Boost wrote:
I don't think so. In fact the reverse is true. Deserialization from DOM is trivial. Making a deserialization library build a DOM is decidedly nontrivial. I'm not sure how it could be done.
It is easy with a pull parser. The following header shows both direct serialization from DOM to JSON, and direct deserizalization from JSON to DOM: https://github.com/breese/trial.protocol/blob/develop/include/trial/protocol...