[LTP] [PATCH v2 0/2] Two more metadata parser fixes
    Cyril Hrubis 
    chrubis@suse.cz
       
    Fri Jul 11 13:36:30 CEST 2025
    
    
  
This series fixes a metadata parser for the ".filesystems" entry of the
tst_test structure. First patch fixes the data storage to JSON
serialization and second patch changes the parser to convert structure
intialization with only designated initializers into a hash (object)
rather than an arrray.
V2: Fixed corner case in structure parsing as reported by Andrea
Cyril Hrubis (2):
  metadata: data_storage: Fix hash to json object serialization
  metaparse: Map arrays with designated initializers to JSON objects
 metadata/data_storage.h |  28 ++++++--
 metadata/metaparse.c    | 142 +++++++++++++++++++++++++++++++++-------
 2 files changed, 143 insertions(+), 27 deletions(-)
-- 
2.49.0
    
    
More information about the ltp
mailing list