docs.unity.cn
    Show / Hide Table of Contents

    Class JsonWriter

    Utilities for writing JSON

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

    Methods

    AppendEscapedJsonString(ref UnsafeText, Byte*, Int32)

    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

    Int32 rawMsgBufferLength

    Length of the UTF8 string to escape

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, May 31, 2023