docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method SaveJsonReport

    SaveJsonReport(Type, string, string, object)

    Saves a JSON report to disk with a custom filename.

    Declaration
    public static void SaveJsonReport(Type reporter, string filename, string summary, object data)
    Parameters
    Type Name Description
    Type reporter

    Type generating the report.

    string filename

    File name to use for the report.

    string summary

    Summary information to include.

    object data

    Data payload to serialize.

    SaveJsonReport(Type, string, object)

    Saves a JSON report to disk using the reporter name as the filename.

    Declaration
    public static void SaveJsonReport(Type reporter, string summary, object data)
    Parameters
    Type Name Description
    Type reporter

    Type generating the report.

    string summary

    Summary information to include.

    object data

    Data payload to serialize.

    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)