Allow dictionary/array values with new line characters
@@ -525,7 +525,7 @@ class JSONSchema(object):
return str(value)
try:
- str_value = str(value)
+ str_value = str(value).strip().replace('\n','').replace('\r','')
if str_value.lower() == 'true':
return True
elif str_value.lower() == 'false':
@@ -539,7 +539,6 @@ class JSONSchema(object):
except:
return value
-
@staticmethod
def format_section_name(section_name):
if section_name is None:
