docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method FillFromDictionary

    FillFromDictionary(Dictionary<string, object>)

    Reset this object and fill it with the given data.

    Declaration
    public JsonData FillFromDictionary(Dictionary<string, object> rawDictionary)
    Parameters
    Type Name Description
    Dictionary<string, object> rawDictionary

    A dictionary containing JSON data. Note: Expect integer values (enum included) to be stored as long and floating values to be stored as double.

    Returns
    Type Description
    JsonData
    Remarks

    Avoid to use reflection here or this will strongly impact GameFoundation's Json deserialization performances.

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