소스 검색

Sujith :) ->
1. Removed indentation from json creation process

Sujith:) 1 주 전
부모
커밋
a25c01dee4
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Assets/AssetBank/source/convert_scene.py

+ 1 - 1
Assets/AssetBank/source/convert_scene.py

@@ -145,7 +145,7 @@ def convert_unity_yaml_to_json(yaml_content, whitelist=None):
             json_data.append({'data': doc})
 
     # 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():