docs.unity3d.com
    Show / Hide Table of Contents

    Class fsJsonPrinter

    Inheritance
    Object
    fsJsonPrinter
    Namespace: Unity.VisualScripting.FullSerializer
    Syntax
    public static class fsJsonPrinter

    Methods

    CompressedJson(fsData)

    Returns the data in a relatively compressed JSON format.

    Declaration
    public static string CompressedJson(fsData data)
    Parameters
    Type Name Description
    fsData data
    Returns
    Type Description
    String

    CompressedJson(fsData, StreamWriter)

    Writes the compressed JSON output data to the given stream.

    Declaration
    public static void CompressedJson(fsData data, StreamWriter outputStream)
    Parameters
    Type Name Description
    fsData data

    The data to print.

    StreamWriter outputStream

    Where to write the printed data.

    PrettyJson(fsData)

    Returns the data in a pretty printed JSON format.

    Declaration
    public static string PrettyJson(fsData data)
    Parameters
    Type Name Description
    fsData data
    Returns
    Type Description
    String

    PrettyJson(fsData, TextWriter)

    Writes the pretty JSON output data to the given stream.

    Declaration
    public static void PrettyJson(fsData data, TextWriter outputStream)
    Parameters
    Type Name Description
    fsData data

    The data to print.

    TextWriter outputStream

    Where to write the printed data.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023