Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 501 Bytes

json2xml.md

File metadata and controls

23 lines (18 loc) · 501 Bytes

This function is used to convert jsons to xmls.

How to use.

    import os
    from convertmask.utils.json2xml.json2xml import j2xConvert

    BASE_DIR = os.path.abspath(os.path.dirname(os.getcwd())) + os.sep + 'static'
    j2xConvert(BASE_DIR + '/label_255_p.json')

It is a simple function.