|
@@ -145,7 +145,7 @@ def convert_unity_yaml_to_json(yaml_content, whitelist=None):
|
|
json_data.append({'data': doc})
|
|
json_data.append({'data': doc})
|
|
|
|
|
|
# Use compact encoding for the final JSON
|
|
# Use compact encoding for the final JSON
|
|
- return json.dumps(json_data, indent=2) # Changed to indented for better readability
|
|
|
|
|
|
+ return json.dumps(json_data, separators=(',', ':')) # Use most compact encoding
|
|
|
|
|
|
|
|
|
|
def main():
|
|
def main():
|