• Iustin Pop's avatar
    Abstract the json functions into a separate module · 8d14b30d
    Iustin Pop authored
    This simple patch adds a new module that holds the simplejson functions
    for serialization/deserialization. This reduces the amount of redundant
    code.
    
    The patch also adds some normalizations to the json output:
      - the output text will always have an EOL as last char
      - extra spaces before EOL are removed
    
    Reviewed-by: ultrotter
    8d14b30d
cmdlib.py 167 KB