docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class JsonWriter

    Utilities for writing JSON

    Inheritance
    object
    JsonWriter
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Logging
    Assembly: Unity.Logging.dll
    Syntax
    [BurstCompile]
    public static class JsonWriter

    Methods

    AppendEscapedJsonString(ref UnsafeText, byte*, int)

    Appends escaped JSON UTF8 string into UnsafeText

    Declaration
    public static void AppendEscapedJsonString(ref UnsafeText jsonOutput, byte* rawMsgBuffer, int rawMsgBufferLength)
    Parameters
    Type Name Description
    UnsafeText jsonOutput

    UnsafeText append to

    byte* rawMsgBuffer

    UTF8 string to escape

    int rawMsgBufferLength

    Length of the UTF8 string to escape

    In This Article
    Back to top
    Copyright © 2025 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)